hi
How can I disconnect the connection?
Is this module have disconnect method ? i cant find it :((
it's .end().
You should add this to the documentation @mcollina.
@MartinMuzatko would you mind to send a PR? thanks!
Oh! it looks like it already exists.
https://github.com/mqttjs/MQTT.js#mqttclientendforce-cb
My bad! I didn't find it in the first place.
Everything should be alright.
Most helpful comment
it's .end().