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 use perspective for real time dashboard / monitoring, with a python server inspired by the python-tornado-streaming example.
If for whatever reason the browser disconnect from the server, I want to get a notification so I can let the user know that it's disconnected and the information in the dashboard is no longer up to date.
But it'd be better if we could either expose the underlying websocket in the client returned by perspective.websocket, or if we were able to register a callback for disconnection when calling perspective.websocket
Feature Request
Description of Problem:
I use perspective for real time dashboard / monitoring, with a python server inspired by the python-tornado-streaming example.
If for whatever reason the browser disconnect from the server, I want to get a notification so I can let the user know that it's disconnected and the information in the dashboard is no longer up to date.
Prior to version 3, I used to do it this way:
But since version 3, the _ws is no longer available.
Potential Solutions:
Here are some ideas:
perspective.websocket
object, so I can register an onclose callbackTasks
The text was updated successfully, but these errors were encountered: