<PackageReference Include="AsyncEnumerator" Version="4.0.2" />

Dasync.Collections.AsyncEnumerable<T>

Helps to enumerate items in a collection asynchronously
namespace Dasync.Collections { public class AsyncEnumerable<T> : AsyncEnumerable, IAsyncEnumerable, IAsyncEnumerable<T> { public new static readonly IAsyncEnumerable<T> Empty; public AsyncEnumerable(Func<AsyncEnumerator<T>.Yield, Task> enumerationFunction); public IAsyncEnumerator<T> GetAsyncEnumerator(CancellationToken cancellationToken = default(CancellationToken)); } }