Switch the clientProxy's start/stop sync semantics to service pausing and resuming to better match underlying behaviors

This commit is contained in:
Stefan Ceriu
2026-06-04 13:43:34 +03:00
parent e4a7322250
commit 713af64fc6
4 changed files with 59 additions and 79 deletions
@@ -169,11 +169,9 @@ protocol ClientProxyProtocol: AnyObject {
func hasDevicesToVerifyAgainst() async -> Result<Bool, ClientProxyError>
func startSync() async
func resumeServices() async
func stopSync()
func stopSync(completion: (() -> Void)?) // Hopefully this will become async once we get SE-0371.
func pauseServices(completion: (() -> Void)?) // Hopefully this will become async once we get SE-0371.
func expireSyncSessions() async