Table of Contents

GetAsyncEnumerator Method

GetAsyncEnumerator()

public IAsyncEnumerator<T> GetAsyncEnumerator()

Returns

IAsyncEnumerator<T>

GetAsyncEnumerator(CancellationToken)

public IAsyncEnumerator<T> GetAsyncEnumerator(CancellationToken ct)

Returns an enumerator that iterates asynchronously through the collection.

Parameters

ct CancellationToken

Returns

IAsyncEnumerator<T>

An enumerator that can be used to iterate asynchronously through the collection.