GitHub

tx_priority_queue

API reference for tx_priority_queue.

TxPriorityQueue[A]: a transactional priority queue (Effect's TxPriorityQueue).

Items are kept sorted by a key function, smallest first, as sorted orders them (Effect's Order); items with equal keys come out in the order they went in. take and peek wait (tx_retry) while the queue is empty.

Types

TypeDefinitionDescription
Keytype Key[A] = Callable[[A], SupportsRichComparison]

Classes