AsyncEnumerableExtensions
public static ConfiguredAsyncDisposable ConfigureAwait(this IAsyncDisposable source, bool continueOnCapturedContext)
Configures how awaits on the tasks returned from an async disposable will be performed.
public static ConfiguredCancelableAsyncEnumerable<T> ConfigureAwait<T>(this IAsyncEnumerable<T> source, bool continueOnCapturedContext)
Configures how awaits on the tasks returned from an async iteration will be performed.
public static ConfiguredCancelableAsyncEnumerable<T> WithCancellation<T>(this IAsyncEnumerable<T> source, CancellationToken cancellationToken)
Sets the CancellationToken to be passed to GetAsyncEnumerator when iterating.