ChildListener
Defined in: types.ts:1145
What a parent learns from a child’s events, with the client already
resolved by the adapter. client is the parent’s client object when the
child is a BehavioralFsm and the event is one of the seven built-in names
(or nohandler); it is undefined for an Fsm child, whose events carry
no client, and for every custom event, whose payload is opaque.
Methods
Section titled “Methods”onEvent()
Section titled “onEvent()”onEvent(
eventName,data,client):void
Defined in: types.ts:1147
Any child event other than nohandler, built-in or custom.
Parameters
Section titled “Parameters”eventName
Section titled “eventName”string
unknown
client
Section titled “client”object | undefined
Returns
Section titled “Returns”void
onUnhandled()
Section titled “onUnhandled()”onUnhandled(
inputName,args,client):void
Defined in: types.ts:1149
The child emitted nohandler: it had no handler for inputName.
Parameters
Section titled “Parameters”inputName
Section titled “inputName”string
unknown[]
client
Section titled “client”object | undefined
Returns
Section titled “Returns”void