Batches all 'transactional' changes until they have all be committed or rolled back.
Optional
options: string | OperationOptionsDescription of the operation or additional options. Used for tracking undo/redo and history. Default Value User Operation
.
Any changes that are made to this object will be reflected in the local record but not committed to the transactional store until the batch is popped.
Useful for operations that are longer running but generally not recommended as it keeps a transaction open. doBatch is the preferred option.
Close the record and cleans resources. Can't be undone.
Provides a mechanism to perform a set of operations in a batch.
A callback that performs multiple operations all within the same transaction.
Optional
options: string | OperationOptionsDescription of the operation or additional options. Used for tracking undo/redo and history. Default Value User Operation
.
Optional
getReturns true
if no more operations are allowed.
Objects that implement this interface allow for batch operations.