public static Task ForEachAsync<TSource>( this IAsyncEnumerable<TSource> source, Action<TSource, int> action )