Skip to content
This repository was archived by the owner on Jun 29, 2022. It is now read-only.

Conversation

mehulmpt
Copy link

@mehulmpt mehulmpt commented Mar 27, 2020

Currently, if a websocket connection is lazily passed, whose onopen is already fired, the module never initializes hence does not work. This fixes it by checking the readyState of socket. If it is ready it initializes it right away, otherwise adds the onopen handle, as earlier

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant