This gist kept getting bigger and bigger, so I moved it to a proper repository, complete with a proper NuGet package.
Last active
March 30, 2023 01:20
-
-
Save StephenCleary/5eddc751dee4c7394c4fcf0b328a6bb9 to your computer and use it in GitHub Desktop.
TaskGroup: Structured Concurrency for C#
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The types are actually quite different in semantics and usage.
CompositeAsyncDisposable
is a collection of disposables;TaskGroup
is a collection of tasks, where any faulting task causes the other tasks to be cancelled.