Skip to content
Version: xstate@5.0.0

ActorLogic.getInitialState property​

Signature:

getInitialState: (actorCtx: ActorContext<TSnapshot, TEvent, TSystem>, input: TInput) => TSnapshot;