Class DeferredAsyncCursor<TDocument>
Represents a cursor for an operation that is not actually executed until MoveNextAsync is called for the first time.
Type Parameters
TDocument
The type of the document.
- Inheritance
-
DeferredAsyncCursor<TDocument>
- Implements
-
IAsync
Cursor <TDocument>
- Inherited Members
- Extension Methods
Constructors
- DeferredAsyncCursor(Action, Func<CancellationToken, IAsyncCursor<TDocument>>, Func<CancellationToken, Task<IAsyncCursor<TDocument>>>)
Initializes a new instance of the DeferredAsyncCursor<TDocument> class.
Properties
- Current
Gets the current batch of documents.
Methods
- Move
Next(Cancellation Token) Moves to the next batch of documents.
- Move
Next Async(Cancellation Token) Moves to the next batch of documents.