System.Linq.Async by .NET Foundation and Contributors

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

.NET API 1,116,304 bytes

 OrderedAsyncPartition<TElement>

sealed class OrderedAsyncPartition<TElement> : AsyncIterator<TElement>, IAsyncPartition<TElement>, IAsyncIListProvider<TElement>, IAsyncEnumerable<TElement>
public OrderedAsyncPartition(OrderedAsyncEnumerable<TElement> source, int minIndexInclusive, int maxIndexInclusive)

public ValueTask<int> GetCountAsync(bool onlyIfCheap, CancellationToken cancellationToken)

public IAsyncPartition<TElement> Skip(int count)

public IAsyncPartition<TElement> Take(int count)

public ValueTask<TElement[]> ToArrayAsync(CancellationToken cancellationToken)

public ValueTask<List<TElement>> ToListAsync(CancellationToken cancellationToken)

public ValueTask<Maybe<TElement>> TryGetElementAtAsync(int index, CancellationToken cancellationToken)

public ValueTask<Maybe<TElement>> TryGetFirstAsync(CancellationToken cancellationToken)

public ValueTask<Maybe<TElement>> TryGetLastAsync(CancellationToken cancellationToken)