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

Add sync control methods #136

Merged
merged 2 commits into from
Dec 21, 2023
Merged

Add sync control methods #136

merged 2 commits into from
Dec 21, 2023

Conversation

leemaguire
Copy link
Contributor

  • Add the following methods for control over the sync session state:
    • realm::sync_session::pause()
    • realm::sync_session::resume()
    • realm::sync_session::reconnect()
    • realm::sync_session::state()
    • realm::sync_session::connection_state()
    • realm::sync_session::observe_connection_change(std::function<void(enum connection_state old_state, enum connection_state new_state)>&& callback)
    • realm::sync_session::unregister_connection_change_observer(uint64_t token)

@leemaguire leemaguire self-assigned this Dec 19, 2023
@leemaguire leemaguire merged commit bd6ba61 into main Dec 21, 2023
30 of 34 checks passed
@leemaguire leemaguire deleted the lm/sync-control-methods branch December 21, 2023 09:33
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 14, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants