Data Sync
Starting and Stopping Sync
Required only once, initiating the sync process automatically connects you with the mesh network. Once connected, you immediately begin receiving updates from set sync subscriptions and sending updates to subscribing remote peers.
To initiate the sync process:
Ensure the sync process remains active throughout your app's lifecycle by starting the sync process (startSync) in the top-most scope of your code.
To stop the sync process, call the stopSync function. Once called, you will be disconnect from any peers and all active sync subscriptions will be paused.
Updated 16 Oct 2024
Did this page help you?