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