Actor.send() method​
Sends an event to the running Actor to trigger a transition.
Signature:
send(event: EventFromLogic<TLogic>): void;
Parameters​
Parameter | Type | Description |
---|---|---|
event | EventFromLogic<TLogic> | The event to send |
Returns:
void
Sends an event to the running Actor to trigger a transition.
Signature:
send(event: EventFromLogic<TLogic>): void;
Parameter | Type | Description |
---|---|---|
event | EventFromLogic<TLogic> | The event to send |
Returns:
void