enqueueActions
Callable
Type parameters
- TContext: MachineContext
- TExpressionEvent: EventObject
- TEvent: EventObject = TExpressionEvent
- TActor: ProvidedActor = ProvidedActor
- TAction: ParameterizedObject = ParameterizedObject
- TGuard: ParameterizedObject = ParameterizedObject
- TDelay: string = string
Parameters
collect: (__namedParameters: { check: (guard: Guard<TContext, TExpressionEvent, undefined, TGuard>) => boolean; context: TContext; enqueue: ActionEnqueuer<TContext, TExpressionEvent, TEvent, TActor, TAction, TGuard, TDelay>; event: TExpressionEvent }) => void
Returns EnqueueActionsAction<TContext, TExpressionEvent, TEvent, TActor, TAction, TGuard, TDelay>