Skip to content
Version: xstate@5.0.0

ActorLogic.restoreState property​

Signature:

restoreState?: (persistedState: Snapshot<unknown>, actorCtx: ActorContext<TSnapshot, TEvent>) => TSnapshot;