-
Notifications
You must be signed in to change notification settings - Fork 501
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Assign event listener to socket close event on open before attempting…
… post-open logic (#1186) * Assign event listener to socket close event on open before attempting to execute post-connection logic, prottects possible unhandled rejection in disconnect * Remove try/catch for linting failure * Up timeout for CI failure * Feedback emit error for disconnection failure on connect failure * Feedback ignore error on disconnect, propagate root cause * Feedback add extra test check for expected error on connect * Feedback remove setTimeout for await reconnect
- Loading branch information
1 parent
97ca0f0
commit c17827e
Showing
2 changed files
with
29 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters