Click or drag to resize
DeferredAsyncCursor<TDocument> Constructor

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

Parameters

execute
Type: System.Func<CancellationToken, IAsyncCursor<TDocument>>
The delegate to execute the first time MoveNext is called.
executeAsync
Type: System.Func<CancellationToken, Task<IAsyncCursor<TDocument>>>
The delegate to execute the first time MoveNextAsync is called.
See Also