sendParent
Callable
Type parameters
- TContext: MachineContext
- TExpressionEvent: EventObject
- TParams: NonReducibleUnknown
- TSentEvent: EventObject = AnyEventObject
- TEvent: EventObject = AnyEventObject
- TDelay: string = string
Parameters
event: TSentEvent | SendExpr<TContext, TExpressionEvent, TParams, TSentEvent, TEvent>
The event to send to the parent machine.
optionaloptions: SendToActionOptions<TContext, TExpressionEvent, TParams, TEvent, TDelay>
Options to pass into the send event.
Returns SendToAction<TContext, TExpressionEvent, TParams, TEvent, TDelay>
Sends an event to this machine's parent.