Skip to content

Commit

Permalink
Add a link to the API reference
Browse files Browse the repository at this point in the history
  • Loading branch information
dacharyc committed Jan 9, 2024
1 parent c4e8a62 commit a51b724
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions source/sdk/cpp/sync/manage-sync-session.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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 <structrealm_1_1internal_1_1bridge_1_1sync__session.html>`'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()``.

Expand Down

0 comments on commit a51b724

Please sign in to comment.