pixavier / mqtt4snap

MQTT for Snap!
9 stars 6 forks source link

Connect block waits for connection to succeed or fail #2

Closed bromagosa closed 4 years ago

bromagosa commented 4 years ago

Connect block now waits for connection to either succeed or fail. If it fails, it fires an error.

I'm now also handling the "close" scenario, which happens if the server can't be reached or suddenly closes the connection.

pixavier commented 4 years ago

Nice