Interface
AsyncIterator<T>
interface AsyncIterator<out T>
Module: System.Collections
Assembly: System.Runtime.dll
Source file: AsyncIterator.rvn
Inherits: AsyncDisposable
A single-consumer asynchronous cursor. Do not overlap advancement or disposal.
Properties
1 item
Current: T
The current item, valid only after advancement completes successfully with true and before the next advancement or disposal starts.
Defined by AsyncIterator<T>.Current · Required implementation (no default).
Methods
2 items
DisposeAsync() -> Task<void>
Completes after cleanup has finished. Call only when no other operation is pending.
Inherited from AsyncDisposable.DisposeAsync · Defined by AsyncDisposable.DisposeAsync · Required implementation (no default).
MoveNextAsync() -> Task<bool>
Advances to the next item, completing with false at the end of the source. Await completion before reading Current or starting another operation.
Defined by AsyncIterator<T>.MoveNextAsync · Required implementation (no default).