Package-level declarations

Types

Link copied to clipboard
internal data class ConversationTimeEventInput(val conversationId: <Error class: unknown class>, val eventTime: <Error class: unknown class>)

The input of a conversation time-event. Used to schedule ConversationTimeEventWork through the ConversationWorkQueue.

Link copied to clipboard
internal data class ConversationTimeEventWork(val conversationTimeEventInput: ConversationTimeEventInput, val worker: ConversationTimeEventWorker)

Represents a conversation time-event work, consisting of the input and the worker.

Link copied to clipboard
internal fun interface ConversationTimeEventWorker
Link copied to clipboard
internal fun interface ConversationWorkQueue

A work queue that schedules and runs actions for conversations based on a time

Link copied to clipboard
internal class ParallelConversationWorkQueue(scope: <Error class: unknown class>, kaliumLogger: <Error class: unknown class>, dispatcher: <Error class: unknown class>) : ConversationWorkQueue

This implementation of ConversationWorkQueue allows parallel work between conversations, but only one simultaneous work per conversation, i.e. each conversation has its own parallel queue.

Link copied to clipboard
internal interface SendConfirmationUseCase

This use case allows to send a confirmation type ReceiptType.READ

Functions

Link copied to clipboard
internal fun SendConfirmationUseCase(currentClientIdProvider: CurrentClientIdProvider, syncManager: SyncManager, messageSender: MessageSender, selfUserId: <Error class: unknown class>, conversationRepository: ConversationRepository, messageRepository: MessageRepository, userPropertyRepository: UserPropertyRepository): SendConfirmationUseCase