System.Collections.Async.IAsyncEnumerable
Exposes an asynchronous enumerator, which supports a simple iteration over a non-generic collection
namespace System.Collections.Async
{
public interface IAsyncEnumerable
{
Task<IAsyncEnumerator> GetAsyncEnumeratorAsync(CancellationToken cancellationToken = default(CancellationToken));
}
}