CoroutineMessageSubscriptionHandler
fun CoroutineMessageSubscriptionHandler(signaldClient: SignaldClient, coroutineScope: CoroutineScope, context: CoroutineContext = EmptyCoroutineContext)
Content copied to clipboard
Parameters
signaldClient
The SignaldClient instance. Must be associated with an account registered with signald.
coroutineScope
The CoroutineScope to use for the message subscription coroutine. This is used to cancel the handler.
context
Additional coroutine context to the coroutineScope
's context.