Class: Event
¶
Constructor¶
Construct Event instance with topic, data and additional options.
-
class
Event
(topic, data[, options])¶
topic should be a string representing the event.
data should be an object with the event payload.
Event
¶Construct Event instance with topic, data and additional options.
Event
(topic, data[, options])¶topic should be a string representing the event.
data should be an object with the event payload.