interface IAsyncEnumerable<T>
in global :: System . Collections . Generic
Exposes an enumerator that provides asynchronous iteration over values of a specified type.
TThe type of the elements in the collection.
public IAsyncEnumerator<T> GetAsyncEnumerator( CancellationToken cancellationToken = null )
Returns an enumerator that iterates asynchronously through the collection.
cancellationTokenA that may be used to cancel the asynchronous iteration.- Returns An enumerator that can be used to iterate asynchronously through the collection.