Tracking specific reconnect events
Opened this issue · 0 comments
MikeAgostino commented
Hey there,
I am currently using the stateChanged function to detect a change in state of connection (as intended) however I want to be able to catch the second time the connection attempts to "reconnect" to the server.
I cannot do this with the stateChanged as once the state has gone into reconnecting it will not update until the connection is fully lost and has gone into the disconnected state.
Is there any way I can listen to these reconnecting events being fired off by the connection hub?
Thanks,
Mike