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#
| Type | Definition | Description |
|---|---|---|
Key | type Key[A] = Callable[[A], SupportsRichComparison] |