Runs the given batch of operations as an atomic unit
Namespace:
Couchbase.Lite
Assembly:
Couchbase.Lite (in Couchbase.Lite.dll) Version: 2.0.0-b0033
Syntax bool InBatch(
Func<bool> a
)
Parameters
- a
- Type: SystemFuncBoolean
The FuncTResult of Boolean containing the operations.
This function should return true
on success and false on failure which will cause all the operations to be abandoned.
Return Value
Type:
BooleanThe return value of
aExceptions See Also