Function getAllInvocations
- getAllInvocations<TContext, TStateSchema, TEvent, TStateMachine, TStateNode>(root: TStateMachine | TStateNode): InvokeDefinition<TContext, TEvent>[]
-
Type Parameters
-
TContext
-
TStateSchema extends StateSchema<any, TStateSchema>
-
TEvent extends EventObject
-
TStateMachine extends StateMachine<TContext, TStateSchema, TEvent, any, any, any, ResolveTypegenMeta<TypegenDisabled, NoInfer<TEvent>, any, any>, TStateMachine>
-
TStateNode extends StateNode<TContext, TStateSchema, TEvent, any, any, any, TStateNode>
Parameters
-
root: TStateMachine | TStateNode
Returns InvokeDefinition<TContext, TEvent>[]
Returns all invocations across all states for the provided root and all descendants.
Returns
All invocations for the provided Machine or StateNode and all descendants.