pladaria / reconnecting-websocket

Reconnecting WebSocket. For Web, React Native, cli (Node.js)
MIT License
1.22k stars 197 forks source link

Can't make websocket connection after "maxRetries" are met because of "_connectLock" flag #125

Open msaroy-crey opened 4 years ago

msaroy-crey commented 4 years ago

Hi @pladaria I really enjoy this lib, great work! It was exactly what's needed in my current project, however I got to a blocking issue now:

I would need this functionality as I want to notify and reconnect my inactive browser tabs once the active tab is successful in opening a websocket connection. I sync my browser tabs with the LocalStorage's storage event.