Closed qdot closed 3 years ago
Due to the connect call now returning a fully formed client, javascript listeners can't set up event handlers before connect, meaning they'll miss device added, disconnect, etc... events.
Fixed in dev. Made the event emitter always throw event execution to the next tick, which means we can create event handlers after connect calls.
Due to the connect call now returning a fully formed client, javascript listeners can't set up event handlers before connect, meaning they'll miss device added, disconnect, etc... events.