Skip to content

EventListenerDefinition

Binds an EventListener to the Event that declared it.

  • BaseEventListenerDefinition

readonly eventPrn: string

PRN of the Event the Listener handles.

BaseEventListenerDefinition.eventPrn


readonly key: string

Key of the Listener, unique within the Event or Template that registered it.

BaseEventListenerDefinition.key


readonly listener: EventListener

The function the Runtime calls for each published Event.


readonly prn: string

PRN of the Listener, <ownerPrn>/listener/<key>.

BaseEventListenerDefinition.prn