interface ServiceEvent {
    eventType?: string;
    publisher?: Publisher;
    resource?: any;
    resourceContainers?: { [key: string]: any };
    resourceVersion?: string;
}

Properties

eventType?: string

This is the id of the type. Constants that will be used by subscribers to identify/filter events being published on a topic.

publisher?: Publisher

This is the service that published this event.

resource?: any

The resource object that carries specific information about the event. The object must have the ServiceEventObject applied for serialization/deserialization to work.

resourceContainers?: { [key: string]: any }

This dictionary carries the context descriptors along with their ids.

resourceVersion?: string

This is the version of the resource.