Listener
Listener<
T> = (value,instanceID?) =>void
Defined in: astrobase/src/events/events.ts:15
A listener callback function that is invoked each time an event is emitted for a topic it has been subscribed to.
Type Parameters
Section titled “Type Parameters”T
The emitted value’s type.
Parameters
Section titled “Parameters”T
The emitted value.
instanceID?
Section titled “instanceID?”string
The instance that the event occurred within.
Returns
Section titled “Returns”void