System.Linq.Async by .NET Foundation and Contributors

<PackageReference Include="System.Linq.Async" Version="4.0.0-preview.8.build.9" />

.NET API 1,047,504 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)