Skip to content

executeActions

const executeActions: (actions, dispatch, event?, machineContext?, args?) => void = _executeActions

Defined in: index.ts:102

Run an array of actions. Machine actions are routed through the machine context (FSM validation, side effects). Event placeholders like event/target.value in argument positions are resolved at dispatch time. args are the handler’s call arguments, read by event/arg / event/arg.N; they default to [event].

ParameterType
actionsAction[] | undefined
dispatch(action) => void
event?SyntheticEvent<Element, Event>
machineContext?MachineExecutionContext
args?readonly unknown[]

void