raise
Callable
Type parameters
- TContext: MachineContext
- TExpressionEvent: EventObject
- TEvent: EventObject = TExpressionEvent
- TParams: NonReducibleUnknown = NonReducibleUnknown
- TDelay: string = string
Parameters
eventOrExpr: NoInfer<TEvent> | SendExpr<TContext, TExpressionEvent, TParams, NoInfer<TEvent>, TEvent>
optionaloptions: RaiseActionOptions<TContext, TExpressionEvent, TParams, NoInfer<TEvent>, NoInfer<TDelay>>
Returns RaiseAction<TContext, TExpressionEvent, TParams, TEvent, TDelay>
Raises an event. This places the event in the internal event queue, so that the event is immediately consumed by the machine in the current step.