If possible, quickly disconnects from the broker. Call only once.
A Promise that resolves when the broker is disconnected.
Gently disconnects from the broker. Should only be called once.
A Promise that resolves when the broker is disconnected.
Publishes a message onto the broker.
The message to be published. Used to infer transport options.
A Promise that resolves to the response of the broker after the operation is completed.
Generated using TypeDoc
MessageBroker encapsulates transactions with message brokering middleware.