Closed mrut2pac closed 5 years ago
Related: #25
well, maybe we can create a simple watchlog for level1 quote and maybe level2. You can also check for level1 timestamp event and if you didnt receive anything, you're disconnected.
gonna close it since this is related to the same issue.
No problem. I have a monitor implementation that does what you described. I forked your repo, will implement additional stuff that I need, by maintaining your coding pattern. Later we can merge it back if you see value.
Would be nice to have a built in support for socket disconnected event for streaming clients so that the user will be notified when the underlying socket is closed and the updates will stop. Now until you make another request you won't know about the problem.