Early Preview
This is currently very much a preview. Please feel free to try things out,
but don't be upset if anything is not yet working. Feedback is welcome over on our
GitHub Dicussions page.
struct System.​Collections.​Generic.​IAsyncEnumerable`1
Assembly: System.Runtime
Exposes an enumerator that provides asynchronous iteration over values of a specified type.
Methods
public
IAsyncEnumerator`1
GetAsyncEnumerator​(Threading.CancellationToken cancellationToken = null)
cancellationToken
A <see cref="T:System.Threading.CancellationToken" /> that may be used to cancel the asynchronous iteration.
Returns An enumerator that can be used to iterate asynchronously through the collection.
Returns an enumerator that iterates asynchronously through the collection.