Click or drag to resize
DeferredAsyncCursorTDocument Constructor

Namespace: MongoDB.Driver
Assembly: MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.4.1
Syntax
public DeferredAsyncCursor(
	Func<CancellationToken, IAsyncCursor<TDocument>> execute,
	Func<CancellationToken, Task<IAsyncCursor<TDocument>>> executeAsync
)

Parameters

execute
Type: SystemFuncCancellationToken, IAsyncCursorTDocument
The delegate to execute the first time MoveNext is called.
executeAsync
Type: SystemFuncCancellationToken, TaskIAsyncCursorTDocument
The delegate to execute the first time MoveNextAsync is called.
See Also