Request
inner class Request(syncStateFlow: <Error class: unknown class><SyncState>, job: <Error class: unknown class>, logger: <Error class: unknown class>) : SyncRequest
Constructors
Functions
Link copied to clipboard
When called, the sync process continues without being released. This ensuring synchronization persists as long as the sync scope lives. This is particularly useful for services that do not care about the lifecycle, like TestService, CLI, etc. and shouldn't be used by applications that turn sync on/off, like Mobile apps.
Link copied to clipboard
open suspend override fun waitUntilLiveOrFailure(): <Error class: unknown class><<Error class: unknown class>, Unit>
Shortcut for waitUntilOrFailure with Live state.
Link copied to clipboard
open suspend override fun waitUntilOrFailure(syncState: SyncState): <Error class: unknown class><<Error class: unknown class>, Unit>
Suspends execution until the specified syncState is reached or a failure occurs.