Skip to content

setState

setState(state): void

Defined in: src/global/instance.ts:89

Rewind or fast-forward the global stream to a saved snapshot.

EngineState

void

seed(1);
setState(getState()); // a no-op, but this is the shape