AsyncEnumerableForEachTSource Method (IAsyncEnumerableTSource, ActionTSource, Int32, CancellationToken) |
Namespace: System.Linq
public static void ForEach<TSource>( this IAsyncEnumerable<TSource> source, Action<TSource, int> action, CancellationToken cancellationToken )