AsyncEnumerableSumTSource Method (IAsyncEnumerableTSource, FuncTSource, Int64, CancellationToken) |
Namespace: System.Linq
public static Task<long> Sum<TSource>( this IAsyncEnumerable<TSource> source, Func<TSource, long> selector, CancellationToken cancellationToken )