Method ToCursor
ToCursor(CancellationToken)
Executes the operation and returns a cursor to the results.
IAsyncCursor<TDocument> ToCursor(CancellationToken cancellationToken = default)
Parameters
cancellationTokenCancellationTokenThe cancellation token.
Returns
- IAsyncCursor<TDocument>
A cursor.