EventInstance
Carries the identity, timing, and payload of an Event to the Listeners that receive it.
Remarks
Section titled “Remarks”Listeners receive an EventInstance as their first argument, whether the Event was
appended for asynchronous processing or invoked through immediate(). The instance is
immutable; a Listener that needs to react further publishes a new Event rather than
altering this one.
- EventListener
- Handle events
- EventDefinition for the declared payload, Listeners and schedules
Properties
Section titled “Properties”createdAt
Section titled “createdAt”
readonlycreatedAt:Date
When the Event was published, in UTC.
eventPrn
Section titled “eventPrn”
readonlyeventPrn:string
PRN of the Event definition this Event was published against; the topic a Listener is registered for.
readonlyid:string
Unique, lexicographically sortable identifier of this Event.
payload
Section titled “payload”
readonlypayload:PropertyMap
Values published with the Event, keyed by the input Properties declared on the Event definition.

