/// <inheritdoc cref="CollectAsync{T}(System.Collections.Generic.IAsyncEnumerable{T})"/> public static ValueTaskAwaiter <IReadOnlyList <T> > GetAwaiter <T>( this IAsyncEnumerable <T> source) where T : IBatchItem => source.CollectAsync().GetAwaiter();
public static Task <string> ToPrettyStringAsync <T>([NotNull] this IAsyncEnumerable <T> iae) { return(iae.CollectAsync().ThenApply(l => l.ToPrettyString())); }