Skip to content
Version: xstate@5.0.0

StateNodeConfig.exit property​

The action(s) to be executed upon exiting the state node.

Signature:

exit?: Actions<TContext, TEvent, TEvent, undefined, TActor, TAction, TGuard, TDelay>;