IAsyncEnumerable<T> Interface

Definition

Exposes an IAsyncEnumerator<T> which supports an asynchronous iteration over a collection of a specified type.

public interface IAsyncEnumerable<out T>
type IAsyncEnumerable<'T> = interface
Public Interface IAsyncEnumerable(Of Out T)

Type Parameters

T

The type of objects to enumerate.

This type parameter is covariant. That is, you can use either the type you specified or any type that is more derived. For more information about covariance and contravariance, see Covariance and Contravariance in Generics.
Derived

Methods

GetAsyncEnumerator()

Returns an IAsyncEnumerator<T> that asynchronously iterates through the collection.

Applies to