QueueProcessor

@ExperimentalCoroutinesApi
class QueueProcessor<T : Any>(val lifetime: Lifetime, process: suspend (T) -> Unit)

Constructors

Link copied to clipboard
fun <T : Any> QueueProcessor(lifetime: Lifetime, process: suspend (T) -> Unit)

Functions

Link copied to clipboard
fun queue(item: T): Unit?

Properties

Link copied to clipboard
val lifetime: Lifetime