Attributes
- Companion:
- object
- Source:
- Dequeue.scala
- Graph
- Supertypes
- Known subtypes
Members list
Value members
Abstract methods
Dequeues an element from the back of the dequeue, possibly fiber blocking until an element becomes available.
Dequeues an element from the back of the dequeue, possibly fiber blocking until an element becomes available.
Attributes
- Source:
- Dequeue.scala
Dequeues an element from the front of the dequeue, possibly semantically blocking until an element becomes available.
Dequeues an element from the front of the dequeue, possibly semantically blocking until an element becomes available.
Attributes
- Source:
- Dequeue.scala
Attempts to dequeue an element from the back of the dequeue, if one is available without fiber blocking.
Attempts to dequeue an element from the back of the dequeue, if one is available without fiber blocking.
Attributes
- Returns:
an effect that describes whether the dequeueing of an element from the dequeue succeeded without blocking, with
None
denoting that no element was available- Source:
- Dequeue.scala
Attempts to dequeue an element from the front of the dequeue, if one is available without fiber blocking.
Attempts to dequeue an element from the front of the dequeue, if one is available without fiber blocking.
Attributes
- Returns:
an effect that describes whether the dequeueing of an element from the dequeue succeeded without blocking, with
None
denoting that no element was available- Source:
- Dequeue.scala
Concrete methods
Alias for takeFront in order to implement Queue
Alias for tryTakeFront in order to implement Queue
Attempts to dequeue elements from the back of the dequeue, if they available without
semantically blocking. This is a convenience method that recursively runs tryTakeBack
. It
does not provide any additional performance benefits.
Attempts to dequeue elements from the back of the dequeue, if they available without
semantically blocking. This is a convenience method that recursively runs tryTakeBack
. It
does not provide any additional performance benefits.
Attributes
- maxN
The max elements to dequeue. Passing
None
will try to dequeue the whole queue.- Returns:
an effect that contains the dequeued elements
- Source:
- Dequeue.scala
Attempts to dequeue elements from the front of the dequeue, if they available without
semantically blocking. This is a convenience method that recursively runs tryTakeFront
.
It does not provide any additional performance benefits.
Attempts to dequeue elements from the front of the dequeue, if they available without
semantically blocking. This is a convenience method that recursively runs tryTakeFront
.
It does not provide any additional performance benefits.
Attributes
- maxN
The max elements to dequeue. Passing
None
will try to dequeue the whole queue.- Returns:
an effect that contains the dequeued elements
- Source:
- Dequeue.scala
Inherited methods
Attributes
- Inherited from:
- QueueSource
- Source:
- Queue.scala
Attempts to dequeue elements from the front of the queue, if they are available without semantically blocking. This method does not guarantee any additional performance benefits beyond simply recursively calling tryTake, though some implementations will provide a more efficient implementation.
Attempts to dequeue elements from the front of the queue, if they are available without semantically blocking. This method does not guarantee any additional performance benefits beyond simply recursively calling tryTake, though some implementations will provide a more efficient implementation.
Attributes
- maxN
The max elements to dequeue. Passing
None
will try to dequeue the whole queue.- Returns:
an effect that contains the dequeued elements
- Inherited from:
- QueueSource
- Source:
- Queue.scala