Limit the maximum number of past history states kept on record.
Clears the state history. Rewinds to the beginning, and the rest of the current tick will be aborted.
Rewind time to t
, the rest of the currently executing tick will be ignored.
A partial state can be passed as the second argument to mutate the rewound state and take back information to
the past state.
The discrete tick in time to rewind to.
Any mutations to apply to the state after rewinding.
Generated using TypeDoc
The HistoryManager interface allows for state manipulation and the rewinding of a program.