-
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: deprecate Trigger and Listen (#10)
Instead of making the caller explicitly adapt functions to the error filter interface, make the OnError method (and thereby the New constructor) accept an argument of dynamic type and do the adaptation automatically. For now, the Trigger and Listen helpers are still present, but marked as deprecated. I will remove them in a future release once known existing use is updated.
- Loading branch information
1 parent
68ef45d
commit 1e124a5
Showing
3 changed files
with
72 additions
and
22 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
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