stopSyncing method

Future<void> stopSyncing()

Stops syncing. Syncing may be resumed with startSync.

Implementation

Future<void> stopSyncing() async {
  await _mutex.lock(() async {
    await _stopSyncingInternal();
  });
}