SyncManagerImpl
internal class SyncManagerImpl(slowSyncRepository: SlowSyncRepository, incrementalSyncRepository: IncrementalSyncRepository, logger: <Error class: unknown class> = kaliumLogger) : SyncManager
Constructors
Link copied to clipboard
constructor(slowSyncRepository: SlowSyncRepository, incrementalSyncRepository: IncrementalSyncRepository, logger: <Error class: unknown class> = kaliumLogger)
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Suspends the caller until all pending events are processed, and the client has finished processing all pending events.
Link copied to clipboard
open suspend override fun waitUntilLiveOrFailure(): Either<NetworkFailure.NoNetworkConnection, Unit>
If Sync is ongoing, suspends the caller until it reaches a terminal state.
Link copied to clipboard
open suspend override fun waitUntilStartedOrFailure(): Either<NetworkFailure.NoNetworkConnection, Unit>