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

taskgroup: add an OnError method to Group #9

Merged
merged 1 commit into from
Oct 6, 2024
Merged

Conversation

creachadair
Copy link
Owner

This allows an error filter to be set after the group is constructed.
The original New constructor is widely used, so it has been left alone, apart
from being rewritten in terms of the new method.

Apart from the added method, no functional changes. Update a few tests to
tickle the edges of it a bit.

This allows an error filter to be set after the group is constructed.
The original New constructor is widely used, so it has been left alone, apart
from being rewritten in terms of the new method.

Apart from the added method, no functional changes.  Update a few tests to
tickle the edges of it a bit.
@creachadair creachadair requested a review from danderson October 5, 2024 22:41
@creachadair creachadair merged commit 68ef45d into main Oct 6, 2024
1 check passed
@creachadair creachadair deleted the mjf/errhandler branch October 6, 2024 00:35
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.

1 participant