Click or drag to resize

QueryRunAsync Method (FuncQueryEnumerator, CancellationToken)

Runs Query function asynchronously and will notified Completed event handlers on completion.

Namespace:  Couchbase.Lite
Assembly:  Couchbase.Lite (in Couchbase.Lite.dll) Version: 1.4.1-b107
Syntax
C#
public Task<QueryEnumerator> RunAsync(
	Func<QueryEnumerator> run,
	CancellationToken token
)

Parameters

run
Type: SystemFuncQueryEnumerator
Query's Run function
token
Type: System.ThreadingCancellationToken
CancellationToken token.

Return Value

Type: TaskQueryEnumerator
The async task.
See Also