SyncExecutor

abstract class SyncExecutor

Inheritors

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
inner class Request(syncStateFlow: <Error class: unknown class><SyncState>, job: <Error class: unknown class>, logger: <Error class: unknown class>) : SyncRequest

Functions

Link copied to clipboard
abstract suspend fun <T> request(executorAction: suspend SyncRequest.() -> T): T

Requests Sync to be performed, fetching new events, etc. bringing the user to an online status. At the end of executorAction, the request is released.

Link copied to clipboard