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 want to open multiple websocket connection, 1 per browser tab (that works perfectly)
when websocket connection is lost I want to attempt a few times to establish connection (also works perfectly)
I want to try re-establishing websocket connection on user action (eg.: buttonclick) -> does not work as _connectLock = true; flag is set in connect function preventing attempt to open a websocket connection after the predefined maxRetries count is met.
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.
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:
_connectLock = true;
flag is set inconnect
function preventing attempt to open a websocket connection after the predefinedmaxRetries
count is met.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.