Interface HierarchicalTransactionService<T, S>

Type Parameters

  • T extends HierarchicalTransaction
  • S extends HierarchicalState

Hierarchy

Hierarchy (view full)

Properties

canRedo: boolean

Returns

if there are any transactions in the Redo stack

canUndo: boolean

Returns

if there are any transactions in the Undo stack

cloneStrategy: IDataCloneStrategy

Gets/Sets the data clone strategy used to clone data

enabled: boolean

Returns whether transaction is enabled for this service

onStateUpdate?: EventEmitter<StateUpdateEvent>

Event fired when transaction state has changed - add transaction, commit all transactions, undo and redo

Methods