Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Accept context when stopping updater #201

Open
wants to merge 1 commit into
base: v2
Choose a base branch
from

Conversation

myxzlpltk
Copy link

Breaking changes. Allow user to pass context when stop updater

@PaulSonOfLars PaulSonOfLars self-requested a review November 3, 2024 21:18
Copy link
Owner

@PaulSonOfLars PaulSonOfLars left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @myxzlpltk, thank you for the PR!

All of the methods in this lib have two versions; one without, and one with the context (suffixed with WithContext). This avoids us having to add breaking changes where they arent strictly necessary

Would it be possible for you to do the same thing for this PR, and add a StopWithContext method to support this? This will also have the advantage of fixing all the breaking tests that test the Stop() functionality :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants