Skip to content

checkpoint

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

Checkpoints 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/checkpoint.js:6