System.Linq.Async by .NET Foundation and Contributors

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

.NET API 1,116,304 bytes

 AsyncCachingComparerWithTaskAndCancellation<TElement, TKey>

protected readonly IComparer<TKey> _comparer

protected readonly bool _descending

protected readonly Func<TElement, CancellationToken, ValueTask<TKey>> _keySelector

protected TKey _lastKey

public AsyncCachingComparerWithTaskAndCancellation(Func<TElement, CancellationToken, ValueTask<TKey>> keySelector, IComparer<TKey> comparer, bool descending)