Skip to content

Accept context when stopping updater#201

Open
myxzlpltk wants to merge 3 commits intoPaulSonOfLars:v2from
myxzlpltk:patch-1
Open

Accept context when stopping updater#201
myxzlpltk wants to merge 3 commits intoPaulSonOfLars:v2from
myxzlpltk:patch-1

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