zio.stm.TPriorityQueue
See theTPriorityQueue companion object
A TPriorityQueue
contains values of type A
that an Ordering
is defined
on. Unlike a TQueue
, take
returns the highest priority value (the value
that is first in the specified ordering) as opposed to the first value
offered to the queue. The ordering that elements with the same priority will
be taken from the queue is not guaranteed.
Attributes
- Companion:
- object
- Graph
- Supertypes
- class AnyValtrait Matchableclass Any