The type of changes that can be committed.
All changes that have been undone and can be redone.
All changes that have been committed and not yet undone.
Commits a change, returning the resultant record.
Optionaloptions: CommitOptionsRegisters txCallback, which will be called on every new commit.
a function that will unsubscribe the callback, returning it.
Transactor is an interface that defines a transaction manager for managing changes in a system. It provides methods to commit changes, undo and redo changes, and subscribe to transaction events.