Skip to content
Version: xstate@5.0.0

StateNodeConfig.invoke property​

The services to invoke upon entering this state node. These services will be stopped upon exiting this state node.

Signature:

invoke?: SingleOrArray<InvokeConfig<TContext, TEvent, TActor, TAction, TGuard, TDelay>>;