Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Connection Lost event for streaming clients #39

Closed
mrut2pac opened this issue May 17, 2019 · 4 comments
Closed

Connection Lost event for streaming clients #39

mrut2pac opened this issue May 17, 2019 · 4 comments

Comments

@mrut2pac
Copy link
Collaborator

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.

@Nucs
Copy link
Contributor

Nucs commented May 17, 2019

Related: #25

@mathpaquette
Copy link
Owner

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.

@mathpaquette
Copy link
Owner

gonna close it since this is related to the same issue.

@mrut2pac
Copy link
Collaborator Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants