-
Notifications
You must be signed in to change notification settings - Fork 37
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
Get Connection State #205
Comments
Hey, thanks for an idea! As for Client side: As for Server side: I like the proposal, but on current moment I'm in progress with polishing (and breaking :) ) Public API and implementing new features like resume and lease, so I'm not sure, that it's not the best time to add such a feature. But! |
For the moment I went for another route on the client, since I need just
|
It would be great if we could listen to the current connection state.
Motivation
Viewing the current connection state is important, especially when using the reconnect feature. This will enable a bunch of new use cases without the need to create a hacky workaround.
Example use case:
Desired solution
Add the possible states and expose them via a
StateFlow
.I am open to do a PR if you would like, but I would like a list of possible states 😄 .
As an example:
The text was updated successfully, but these errors were encountered: