Method ToCursorAsync
ToCursorAsync(CancellationToken)
Executes the operation and returns a cursor to the results.
public abstract Task<IAsyncCursor<TResult>> ToCursorAsync(CancellationToken cancellationToken)
Parameters
cancellationToken
CancellationTokenThe cancellation token.
Returns
- Task<IAsyncCursor<TResult>>
A Task whose result is a cursor.