Interface: PlayerFactoryResumeOptions<TMachine>
API / @xmachines/play-xstate / PlayerFactoryResumeOptions
Defined in: packages/play-xstate/src/types.ts:47
Optional restore arguments for the player factory.
Mirrors XState’s createActor options bag while preserving the existing
createPlayer(input?) calling convention for fresh actors.
Type Parameters
| Type Parameter |
|---|
TMachine extends AnyStateMachine |
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
snapshot? | SnapshotFrom<TMachine> | Persisted XState snapshot used to restore actor state. | packages/play-xstate/src/types.ts:49 |