Click or drag to resize

IThreadSafeDoSyncT Method (FuncT)

Convenience method for scheduling a job on this object's queue, waiting for it to finish and returning the result

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

Parameters

f
Type: SystemFuncT
The job to schedule

Type Parameters

T
The return type of the scheduled job

Return Value

Type: T
The result of the job
See Also