suspendExecution

internal suspend fun suspendExecution(): SyncSuspension

Stops sync and returns once it has finished. Sync stays stopped, even for new requests, until resumeExecution; requests stay registered and run again on resume. Cancelling the wait cancels the suspension.