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