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: deprecate Trigger and Listen #10

Merged
merged 1 commit into from
Oct 6, 2024
Merged

taskgroup: deprecate Trigger and Listen #10

merged 1 commit into from
Oct 6, 2024

Conversation

creachadair
Copy link
Owner

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.

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.
@creachadair creachadair merged commit 1e124a5 into main Oct 6, 2024
1 check passed
@creachadair creachadair deleted the mjf/errcons branch October 6, 2024 00:46
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