A service that wants to listen to events broadcasted by the TopicEventService. Such a service must be registered as ct.framework.api.EventHandler with the service property Event-Topics: ["<name of the topic>"].

interface TopicEventHandler {
    handleEvent(evt: TopicEvent): void;
}

Methods

Methods

  • Handles a given event.

    Parameters

    Returns void