WhenEach Method
- Namespace
- SatorImaging.UnityFundamentals
WhenEach<T>(ICollection<T>, CancellationToken)
public static WhenEachEnumerator<T> WhenEach<T>(this ICollection<T> tasks, CancellationToken cancellationToken = default) where T : Task
Parameters
tasksICollection<T>cancellationTokenCancellationToken
Returns
Type Parameters
T
WhenEach(IEnumerable<Task>, CancellationToken)
public static WhenEachEnumerator<Task> WhenEach(this IEnumerable<Task> tasks, CancellationToken cancellationToken = default)
Parameters
tasksIEnumerable<Task>cancellationTokenCancellationToken