public static Task<long> Max<TSource>( this IAsyncEnumerable<TSource> source, Func<TSource, long> selector )