Interface IAsyncEnumerator<T>
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()