Class TaskScope.WhenAny
- Namespace
- Icicle
- Assembly
- Icicle.dll
An implementation of a TaskScope that runs all child tasks in parallel stopping when the first child task completes
public sealed class TaskScope.WhenAny : TaskScope, IDisposable
- Inheritance
-
TaskScope.WhenAny
- Implements
- Inherited Members
Methods
- OnRun(IEnumerable<ValueTask>, RunOptions, CancellationToken)
Called when a Run(RunOptions?, CancellationToken) is requested on the TaskScope