IAsyncEnumerable<T> 接口

定义

IAsyncEnumerable 接口

generic <typename T>
public interface class IAsyncEnumerable
public interface class IAsyncEnumerable
template <typename T>
__interface IAsyncEnumerable
public interface IAsyncEnumerable<out T>
type IAsyncEnumerable<'T> = interface
Public Interface IAsyncEnumerable(Of Out T)

类型参数

T

项类型

这是协变类型参数。 即,可以使用指定的类型,也可以使用派生程度较高的任何类型。 有关协变和逆变的详细信息,请参阅泛型中的协变和逆变
派生

方法

GetEnumerator()

返回一个枚举数,该枚举数支持异步循环访问集合。

适用于