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

Add the ability to subscribe to connection status changes #23

Open
Fyzu opened this issue Aug 25, 2022 · 0 comments
Open

Add the ability to subscribe to connection status changes #23

Fyzu opened this issue Aug 25, 2022 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@Fyzu
Copy link
Member

Fyzu commented Aug 25, 2022

Instead of internal registerStateChangeHandler

Introduce smth like that:

{
  subscribeConnectionStatus: (handle: (status: Status) => void) => Unsubscribe
}
@Fyzu Fyzu added enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed labels Aug 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant