You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ConnectionPromise constructor just exposes the .on(), .once(), & .listener() functions of the #conn object. there doesn't seem a way to remove a listener that was attached using on()
The text was updated successfully, but these errors were encountered:
Hi @rusher , thanks for the updates and support of event emitter methods!
Is there a reason we are not exposing the emit() method?
In my code I am handling connection error events but unable to write a testcase for it as I cannot forcefully call the emit method to emit an error event and test my error handling code.
ConnectionPromiseconstructor just exposes the.on(),.once(), &.listener()functions of the#connobject. there doesn't seem a way to remove a listener that was attached usingon()The text was updated successfully, but these errors were encountered: