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

System.Collections.Async.AsyncEnumerable<T>

Helps to enumerate items in a collection asynchronously
public static readonly IAsyncEnumerable<T> Empty

A pre-cached empty collection

public AsyncEnumerable(Func<Yield<T>, Task> enumerationFunction)

public virtual Task<IAsyncEnumerator<T>> GetAsyncEnumeratorAsync(CancellationToken cancellationToken = default)

Creates an enumerator that iterates through a collection asynchronously