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