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

Online status #535

Open
jesperordrup opened this issue Jan 31, 2022 · 2 comments
Open

Online status #535

jesperordrup opened this issue Jan 31, 2022 · 2 comments
Labels
enhancement New feature or request

Comments

@jesperordrup
Copy link

Any way to show a status if websocket is open or closed to allow for an alert in ui?

@arlac77
Copy link
Owner

arlac77 commented Feb 1, 2022

A 2nd. store providing the state of the web socket ?

const myStore = websocketStore("wss://mydomain.com/ws1");

const webSocketState = myStore.state;

could be implemented

@jesperordrup
Copy link
Author

That's elegant. Of course

@arlac77 arlac77 added the enhancement New feature or request label Dec 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants