IncrementalSyncWorkerImpl

internal class IncrementalSyncWorkerImpl(eventGatherer: EventGatherer, batchProcessor: EventBatchProcessor, logger: KaliumLogger = kaliumLogger, consumePendingAccountInvalidation: suspend () -> Boolean = { false }, consumePendingLegalHoldTransitions: suspend () -> Unit = {}, consumePendingConversationCleanup: suspend () -> Unit = {}) : IncrementalSyncWorker

Constructors

Link copied to clipboard
constructor(eventGatherer: EventGatherer, batchProcessor: EventBatchProcessor, logger: KaliumLogger = kaliumLogger, consumePendingAccountInvalidation: suspend () -> Boolean = { false }, consumePendingLegalHoldTransitions: suspend () -> Unit = {}, consumePendingConversationCleanup: suspend () -> Unit = {})

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open suspend override fun processEventsFlow(): Flow<EventSource>

Collection starts receiving and processing, emitting the source of current events.