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

Return context in Stop() to notify user when everything has been stopped #67

Merged
merged 2 commits into from
Jul 10, 2024

Conversation

CorentinClabaut
Copy link
Collaborator

Closes #63

Copy link

codecov bot commented Jul 8, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Please upload report for BASE (main@3f439a7). Learn more about missing BASE report.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #67   +/-   ##
=======================================
  Coverage        ?   99.00%           
=======================================
  Files           ?        4           
  Lines           ?      302           
  Branches        ?        0           
=======================================
  Hits            ?      299           
  Misses          ?        3           
  Partials        ?        0           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Owner

@alitto alitto left a comment

Choose a reason for hiding this comment

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

Thanks for the PR! 🙌

pond.go Show resolved Hide resolved
Co-authored-by: Alejandro Durante <alitto@gmail.com>
Copy link
Owner

@alitto alitto left a comment

Choose a reason for hiding this comment

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

Awesome, thank you! I will release this change in a new version

@alitto alitto merged commit 5f162d4 into alitto:main Jul 10, 2024
18 checks passed
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.

Return chan struct{} from pool.Stop() to give a better control over cleanup operations.
2 participants