Click or drag to resize

IThreadSafeDoAsyncT Method (FuncT)

Convenience method for asynchronously scheduling a job for this object

Namespace:  Couchbase.Lite
Assembly:  Couchbase.Lite (in Couchbase.Lite.dll) Version: 2.0.0-b0033
Syntax
C#
Task<T> DoAsync<T>(
	Func<T> f
)

Parameters

f
Type: SystemFuncT
The job to schedule

Type Parameters

T
The return value for the job

Return Value

Type: TaskT
An awaitable task representing the scheduled job
See Also