mqttjs / async-mqtt

Promise wrapper over MQTT.js
MIT License
272 stars 50 forks source link

Add connectAsync #21

Closed 123joshuawu closed 5 years ago

123joshuawu commented 5 years ago

Added connectAsync (#4) which returns a promise that resolves and rejects on connect and error events respectively. Also added quick test.

RangerMauve commented 5 years ago

Out in 2.4.0! 😁