Publishes events on nats Generates the event as an object with 'endpoint' key that specifies the ServiceName/eventName.
the event name
the data to be passed as payload of the event
Generated using TypeDoc
Publishes events on nats Generates the event as an object with 'endpoint' key that specifies the ServiceName/eventName.