Skip to content

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
@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.

2 participants