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

on_reconnect_callback removed, on_connect_callback added. #2122

Merged
merged 1 commit into from
Mar 27, 2024

Conversation

janiversen
Copy link
Collaborator

on_reconnect_callback connected the app directly with the transport layer and caused problems.
It was not implemented in the sync client.

Added new parameter: on_connect_callback()
For async clients on_connect_callback(True) is called when client is connected, and on_connect_callback(False) is called when client is disconnected.

Remark, the disconnected call, does NOT replace the reconnect mechanism, but is merely meant as an informative call.

@janiversen janiversen merged commit 0803ff7 into dev Mar 27, 2024
1 check passed
@janiversen janiversen deleted the on_reconnect branch March 27, 2024 16:25
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