Skip to content

Comments

Allow the client to properly handle disconnection#2

Open
aurelj wants to merge 2 commits intoflowionab:mainfrom
aurelj:disconnect
Open

Allow the client to properly handle disconnection#2
aurelj wants to merge 2 commits intoflowionab:mainfrom
aurelj:disconnect

Conversation

@aurelj
Copy link
Contributor

@aurelj aurelj commented Oct 17, 2025

Add a on_disconnect() method allowing the client to be notified of a disconnection.

Also terminate all the running on_request tasks when the main receiving task exit due to a disconnect.

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

Successfully merging this pull request may close these issues.

1 participant