PURISTA API / @purista/core / ServiceEvents
Type Alias: ServiceEvents
ServiceEvents =
ServiceEventsInternal&addPrefixToObject<CustomEvents,"custom-"> &addPrefixToObject<CustomEvents,"misc-">
Defined in: packages/core/src/core/types/ServiceEvents.ts:98
ServiceEvents are plain javascript events sent by the service. There are three types:
- technical events when a services starts, stops, an error occurs and so on are prefixed with
service- - response messages, which have a event name assigned, are prefixed with
custom- - additional events, free defined by developer are prefixed with
misc-
