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
{{ message }}
This repository has been archived by the owner on Apr 6, 2021. It is now read-only.
self.emit("disconnect")
is not going to pass any sort of reason.
Maybe the function needs to have err as its first parameter and then self.emit("disconnect", err)
The problem is happening on a friends computer so I can't debug to prove it just yet but will try to get a working example later.
Thought I should raise issue just in case it is something that was neglected.
The documentation seems to say onDisconnect event would have a reason. But it is not always the case?.
in smith.js Transport onDisconnect
self.emit("disconnect")
is not going to pass any sort of reason.
Maybe the function needs to have err as its first parameter and then self.emit("disconnect", err)
The problem is happening on a friends computer so I can't debug to prove it just yet but will try to get a working example later.
Thought I should raise issue just in case it is something that was neglected.
The documentation seems to say onDisconnect event would have a reason. But it is not always the case?.
See these lines.
https://github.com/c9/smith/blob/master/smith.js#L113-127
The text was updated successfully, but these errors were encountered: