Readonly
depthReadonly
descriptionReadonly
isReadonly
uuidBegin a transaction with self contained, non-eventing updates
Optional
description: stringThe description of the transaction
Optional
onClose: ((transaction) => void)A callback for when the transaction is closed (due to either a commit or rollback)
Optional
isUndo: booleanA hint to indicate if the transaction should be support undo.
Context is useful for debugging and logging. This is treated as a stack so it's fifo. This means that when finally committed to global changeset that only the final context will be maintained.
Commit the transaction and all children transactions to the parent changeset.
If root transaction will return self
Discard all changes and children transaction changes.
unique id for this transaction. This will be the same id for all sub transactions.