revert
revert(
baseState): () =>Promise<void>
Commits the current change-set to the instance since the last call to checkpoint.
Parameters
• baseState: BaseState
Returns
Function
Returns
Promise<void>
Source
packages/state/src/actions/revert.js:6