Begin a transaction with self contained, non-eventing updates.
Optional
options: StoreOperationOptionsThe description of the transaction or options.
Optional
onClose: CloseCallbackA callback for when the transaction is closed (due to either a commit or rollback).
Commit the transaction and all children transactions to the parent transaction.
Optional
options: StoreOperationOptions<View, P>A final description or options to apply on commit.
0-Based depth of the current transaction. If 0 then it's globally available.
Describes the current transaction.
A unique id for this transaction. This will be the same id for all sub transactions.
If root transaction will return self.
Returns the state associated to a record for the current transaction or globally if there are no open transactions.
The ITransactional
object.
All states in the current transaction.
Returns the view associated with this transaction.
Discard all changes and children transaction changes.
Objects that implement this interface have ACID properties.