Skip to content

revert

revert(baseState, skipFetchingFromFork?): () => Promise<void>

Commits the current change-set to the instance since the last call to checkpoint.

Parameters

baseState: BaseState

skipFetchingFromFork?: boolean

Returns

Function

Returns

Promise<void>

Defined in

packages/state/src/actions/revert.js:6