TypingIndicatorSenderHandlerImpl

internal class TypingIndicatorSenderHandlerImpl(conversationRepository: ConversationRepository, kaliumDispatcher: KaliumDispatcher = KaliumDispatcherImpl, userSessionCoroutineScope: CoroutineScope) : TypingIndicatorSenderHandler, CoroutineScope

Constructors

Link copied to clipboard
constructor(conversationRepository: ConversationRepository, kaliumDispatcher: KaliumDispatcher = KaliumDispatcherImpl, userSessionCoroutineScope: CoroutineScope)

Properties

Link copied to clipboard
open override val coroutineContext: CoroutineContext

Functions

Link copied to clipboard
open override fun sendStartedAndEnqueueStoppingEvent(conversationId: ConversationId)

Sends a started event and enqueues a stopping event if sent successfully.

Link copied to clipboard
open override fun sendStoppingEvent(conversationId: ConversationId)

Sends a stopping event and removes it from the 'queue'.