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
I'd like to inform the user that there's a connectivity problem, and when the next attempt will be to restore the connection. To do that, I'd have to know when the websocket will attempt to reconnect (e.g. through a timestamp property on the ReconnectingWebSocket object that tells when the next connection attempt will be).
The text was updated successfully, but these errors were encountered:
Interesting. Maybe a better idea would be to accept via constructor a function getReconnectingDelay(retryNumber), so you can have full control of that.
I'd like to inform the user that there's a connectivity problem, and when the next attempt will be to restore the connection. To do that, I'd have to know when the websocket will attempt to reconnect (e.g. through a
timestamp
property on the ReconnectingWebSocket object that tells when the next connection attempt will be).The text was updated successfully, but these errors were encountered: