Skip to content

Conversation

simolus3
Copy link
Contributor

@simolus3 simolus3 commented Sep 3, 2025

This adds a mechanism for client SDKs to notify the Rust sync client that a connection has been established. Some SDKs used that event to set connected: true, and we can restore that behavior with this event.

Similarly, this adds an end event to be invoked when a sync stream closes gracefully - that's kind of an unexpected event because we're already reconnecting when a token expires, but the Rust client now returns an explicit instruction to restart after a delay.

@simolus3 simolus3 requested a review from rkistner September 3, 2025 10:29
@simolus3 simolus3 merged commit f970090 into main Sep 3, 2025
23 checks passed
@simolus3 simolus3 deleted the sync-connection-events branch September 3, 2025 11:36
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