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

SubstrateClient connection event handlers #83

Open
RostislavLitovkin opened this issue Jun 18, 2024 · 0 comments
Open

SubstrateClient connection event handlers #83

RostislavLitovkin opened this issue Jun 18, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@RostislavLitovkin
Copy link
Contributor

Problem:
I am currently unable to inform users in my application about the connection status of the SubstrateClient.

Solution:
Introduce EventHandler<T>s that are fired whenever client connects, disconnects, or is reconnecting...

These 5 event handlers would be useful:
onConnect
onDisconnect
onReconnecting
onReconnected
onReconnectFailed

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

3 participants