System.Collections.Async
Namespace with 17 public types
Classes
AsyncEnumerable`1
Helps to enumerate items in a collection asynchronously
AsyncEnumerableWithState`2
Similar to , but allows you to pass a state object into the enumeration function, what can be
used for performance optimization, so don't have to create a delegate on the fly every single time you create the enumerator.
AsyncEnumerationCanceledException
This exception is thrown when you call
or when the enumerator is disposed before reaching the end of enumeration.
AsyncEnumerator`1
Helps to enumerate items in a collection asynchronously
AsyncEnumeratorWithState`2
Helps to enumerate items in a collection asynchronously.
Provides exactly the same functionality as ,
but allows to pass a user state object in the enumeration function,
what can be used for performance optimization.
ParallelForEachException
Used in ParallelForEachAsync<T> extension method
Static Classes
AsyncEnumerableAdapterExtensions
Extension methods for for backward compatibility with version 1 of this libraray.
Not recommended to use.
ForEachAsyncExtensions
Enables asynchronous 'foreach' enumeration over an IAsyncEnumerable
IAsyncEnumerableExtensions
Extension methods for interface
IAsyncEnumeratorExtensions
Extension methods for interface
ParallelForEachExtensions
Extensions methods for IEnumerable and IAsyncEnumerable to do parallel for-each loop in async-await manner
Abstract Classes
AsyncEnumerable
Base abstract class that implements .
Use concrete implementation or .
AsyncEnumerator
Base type for and
Interfaces
IAsyncEnumerable
Exposes an asynchronous enumerator, which supports a simple iteration over a non-generic collection
IAsyncEnumerable`1
Exposes the asynchronous enumerator, which supports a simple iteration over a collection of typed items
IAsyncEnumerator
Supports a simple asynchronous iteration over a non-generic collection
IAsyncEnumerator`1
Supports a simple asynchronous iteration over a collection of typed items