The message that will be published. It can be a constant value or a function that returns the value. In case it is a function, the function can use the data passed as the second argument when publisher is called.
What will be executed in case of a publishing error. Note: overwrites the onError callback specified by the options.
The topic that will be published.
Generated using TypeDoc
The interface contains the action of a topic when published by a publisher.