IDispatchQueueDispatchSyncTResult Method (FuncTResult) |
Schedules the given
FuncTResult, waits for it to complete
and returns the result of the action
Namespace:
Couchbase.Lite
Assembly:
Couchbase.Lite (in Couchbase.Lite.dll) Version: 2.0.0-b0033
Syntax TResult DispatchSync<TResult>(
Func<TResult> f
)
Parameters
- f
- Type: SystemFuncTResult
The FuncTResult to schedule
Type Parameters
- TResult
- The return type of the operation
Return Value
Type:
TResultThe result of the
FuncTResultSee Also