From a51b724da5c32b5fbe1c513c0aafe24a5885f80d Mon Sep 17 00:00:00 2001 From: Dachary Carey Date: Tue, 9 Jan 2024 09:09:31 -0500 Subject: [PATCH] Add a link to the API reference --- source/sdk/cpp/sync/manage-sync-session.txt | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/source/sdk/cpp/sync/manage-sync-session.txt b/source/sdk/cpp/sync/manage-sync-session.txt index f96de0c695..a4dd5444f6 100644 --- a/source/sdk/cpp/sync/manage-sync-session.txt +++ b/source/sdk/cpp/sync/manage-sync-session.txt @@ -124,6 +124,13 @@ When to Pause a Sync Session Wait for Changes to Upload and Download --------------------------------------- +You can use the +:cpp-sdk:`sync_session `'s +``wait_for_upload_completion()`` and ``wait_for_download_completion()`` +methods to wait for changes to upload to or download from Atlas. Both of these +methods can optionally take a callback to execute when upload or download +is complete. + To wait for all changes to upload to Atlas from your synced realm, use the member function ``wait_for_upload_completion()``.