-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
taskgroup: add an OnError method to Group (#9)
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.
- Loading branch information
1 parent
afebe58
commit 68ef45d
Showing
2 changed files
with
36 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters