Skip to content

EventListenerBuilder

Identifies a registered Listener of an Event.

EventBuilder.addListener

readonly key: string

Listener key within its Event.


readonly prn: string

Platform Resource Name of the declared resource, derived from the App key and resource key.

BaseBuilder.prn

setDescription(description): this

Sets the description emitted into the definition and rendered in generated reference and application assets.

string

Human-readable description of the resource.

this

This builder for chaining.

BaseBuilder.setDescription


toDefinition(): EventListenerDefinition

Emits the Definition of this Listener, including its handler.

EventListenerDefinition