Skip to content

EventInstance

Defined in: runtime/event.ts:20

Runtime instantiation of an event. Visible to event listeners, where it is passed as the first parameter. Events are immutable.

Note that events are instantiated by the reactor - as such the runtime does not implement this interface.

TODO: This needs to be rationalized or compared against src/alpyne/service/types/event.ts

@see: @pyn-backend/platform-service-types#AlpyneEvent

readonly createdAt: Date

Defined in: runtime/event.ts:29

DateTime this event was created.


readonly eventPrn: string

Defined in: runtime/event.ts:34

The PRN identifying this event as per the definition.


readonly id: string

Defined in: runtime/event.ts:24

Unique identifier of this event.


readonly payload: PropertyMap

Defined in: runtime/event.ts:39

The payload for the event.