<PackageReference Include="Microsoft.Bcl.AsyncInterfaces" Version="10.0.0-preview.5.25277.114" />

ConfiguredCancelableAsyncEnumerable<T>

Provides an awaitable async enumerable that enables cancelable iteration and configured awaits.
public struct Enumerator<T>

Provides an awaitable async enumerator that enables cancelable iteration and configured awaits.

public ConfiguredCancelableAsyncEnumerable<T> ConfigureAwait(bool continueOnCapturedContext)

Configures how awaits on the tasks returned from an async iteration will be performed.

Returns an enumerator that iterates asynchronously through collections that enables cancelable iteration and configured awaits.

Sets the CancellationToken to be passed to GetAsyncEnumerator when iterating.