I've ran into the following problem and I was hoping for an advice on how to resolve it. My application uses CoroSession to connect to the WAMP router (
crossbar.io). The router is pretty busy in our system, and once in a while it drops connection to the application due to the ping timeout. Although we increased the timeout value, the disconnection still happens once in a while. The problem is that there is no immediate notification from the CoroSession to the application that the connection was dropped. Application finds out that the connection was dropped only when it tries to call a remote procedure or publish event. Until then it is unaware that it is not really connected to the router. Is there a way for an application to find out that the connection is lost immediately?