PersistentQueue

class PersistentQueue<T>(options: QueueOptions<T>)

Constructors

Link copied to clipboard
fun <T> PersistentQueue(options: QueueOptions<T>)

Functions

Link copied to clipboard
suspend fun pop(count: PopSize, block: suspend (List<T>) -> Unit)
Link copied to clipboard
suspend fun popUntilEmpty(incrementSize: PopSize, block: suspend (List<T>) -> Unit)
Link copied to clipboard
suspend fun push(items: List<T>)