IAsyncEnumerator<T> Interface

Definition

Asynchronous enumerator.

public interface IAsyncEnumerator<out T> : IDisposable
type IAsyncEnumerator<'T> = interface
    interface IDisposable
Public Interface IAsyncEnumerator(Of Out T)
Implements IDisposable

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.
Implements
System.IDisposable

Properties

Current

Gets the current element in the enumerator.

Methods

MoveNextAsync(CancellationToken)

Advances the enumerator to the next element of the enumerator.

Reset()

Sets the enumerator to its initial position, which is before the first element in the collection.

Applies to