executeActions
constexecuteActions: (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].
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
actions | Action[] | undefined |
dispatch | (action) => void |
event? | SyntheticEvent<Element, Event> |
machineContext? | MachineExecutionContext |
args? | readonly unknown[] |
Returns
Section titled “Returns”void