- Companion:
- class
Value members
Concrete methods
Constructs an empty, bounded dequeue holding up to capacity
elements for F
data types
that are cats.effect.kernel.GenConcurrent. When the queue is full (contains exactly
capacity
elements), every next Queue#offer will be backpressured (i.e. the
Queue#offer blocks semantically).
Constructs an empty, bounded dequeue holding up to capacity
elements for F
data types
that are cats.effect.kernel.GenConcurrent. When the queue is full (contains exactly
capacity
elements), every next Queue#offer will be backpressured (i.e. the
Queue#offer blocks semantically).
- Value parameters:
- capacity
the maximum capacity of the queue
- Returns:
an empty, bounded queue
Constructs an empty, unbounded dequeue for F
data types that are
cats.effect.kernel.GenConcurrent. Queue#offer never blocks semantically, as there
is always spare capacity in the queue.
Constructs an empty, unbounded dequeue for F
data types that are
cats.effect.kernel.GenConcurrent. Queue#offer never blocks semantically, as there
is always spare capacity in the queue.
- Returns:
an empty, unbounded queue