Table of Contents

Interface IAsyncEnumerator<T>

Namespace
LinqToDB.Async
Assembly
linq2db.dll

Asynchronous version of the IEnumerator<T> interface, allowing elements to be retrieved asynchronously.

public interface IAsyncEnumerator<out T> : IAsyncDisposable

Type Parameters

T

Element type.

Inherited Members
Extension Methods

Properties

Current

Gets the current element in the iteration.

T Current { get; }

Property Value

T

Methods

MoveNextAsync()

Advances the enumerator to the next element in the sequence, returning the result asynchronously.

Task<bool> MoveNextAsync()

Returns

Task<bool>

Task containing the result of the operation: true if the enumerator was successfully advanced to the next element; false if the enumerator has passed the end of the sequence.