System.Linq.Async by .NET Foundation and Contributors

<PackageReference Include="System.Linq.Async" Version="6.0.1" />

.NET API 1,116,304 bytes

 IOrderedAsyncEnumerable<TElement>

public interface IOrderedAsyncEnumerable<TElement> : IAsyncEnumerable<TElement>
Represents a sorted async-enumerable sequence.
IOrderedAsyncEnumerable<TElement> CreateOrderedEnumerable<TKey>(Func<TElement, TKey> keySelector, IComparer<TKey> comparer, bool descending)

Performs a subsequent ordering on the elements of an ordered async-enumerable according to a key.

IOrderedAsyncEnumerable<TElement> CreateOrderedEnumerable<TKey>(Func<TElement, ValueTask<TKey>> keySelector, IComparer<TKey> comparer, bool descending)

Performs a subsequent ordering on the elements of an ordered async-enumerable according to a key provided via a ValueTask.

IOrderedAsyncEnumerable<TElement> CreateOrderedEnumerable<TKey>(Func<TElement, CancellationToken, ValueTask<TKey>> keySelector, IComparer<TKey> comparer, bool descending)

Performs a subsequent ordering on the elements of an ordered async-enumerable according to a key provided via a ValueTask.