This symbol shall be used to install a listener for only monitoring 'error'
events. Listeners installed using this symbol are called before the regular
'error'
listeners are called.
Installing a listener using this symbol does not change the behavior once an
'error'
event is emitted, therefore the process will still crash if no
regular 'error'
listener is installed.
end - close connection
do not wait for all in-flight messages to be acked
called when the client has been closed
this - for chaining
getLastMessageId
Handle messages with backpressure support, one at a time. Override at will.
packet the packet
callback call when finished
publish - publish
topic to publish to
message to publish
this - for chaining
reconnect - connect again using the same options as connect()
this - for chaining
removeOutgoingMessage - remove a message in outgoing store the outgoing callback will be called withe Error('Message removed') if the message is removed
messageId to remove message
this - for chaining
subscribe - subscribe to
topic(s) to subscribe to, supports objects in the form {'topic': qos}
this - for chaining
unsubscribe - unsubscribe from topic(s)
topics to unsubscribe from
this - for chaining
Generated using TypeDoc
https://github.com/mqttjs/MQTT.js/