- Companion
- object
Value members
Abstract methods
Concrete methods
Inherited methods
Alias for offerBack in order to implement Queue
Alias for offerBack in order to implement Queue
- Definition Classes
- Inherited from
- DequeueSink
Enqueues the given element at the back of the dequeue, possibly semantically blocking until sufficient capacity becomes available.
Enqueues the given element at the back of the dequeue, possibly semantically blocking until sufficient capacity becomes available.
- Value Params
- a
the element to be put at the back of the dequeue
- Inherited from
- DequeueSink
Enqueues the given element at the front of the dequeue, possibly semantically blocking until sufficient capacity becomes available.
Enqueues the given element at the front of the dequeue, possibly semantically blocking until sufficient capacity becomes available.
- Value Params
- a
the element to be put at the back of the dequeue
- Inherited from
- DequeueSink
Alias for takeFront in order to implement Queue
Alias for takeFront in order to implement Queue
- Definition Classes
- Inherited from
- DequeueSource
Dequeues an element from the back of the dequeue, possibly semantically blocking until an element becomes available.
Dequeues an element from the back of the dequeue, possibly semantically blocking until an element becomes available.
- Inherited from
- DequeueSource
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.
- Inherited from
- DequeueSource
Alias for tryOfferBack in order to implement Queue
Alias for tryOfferBack in order to implement Queue
- Definition Classes
- Inherited from
- DequeueSink
Attempts to enqueue the given element at the back of the dequeue without semantically blocking.
Attempts to enqueue the given element at the back of the dequeue without semantically blocking.
- Value Params
- a
the element to be put at the back of the dequeue
- Returns
an effect that describes whether the enqueuing of the given element succeeded without blocking
- Inherited from
- DequeueSink
Attempts to enqueue the given element at the front of the dequeue without semantically blocking.
Attempts to enqueue the given element at the front of the dequeue without semantically blocking.
- Value Params
- a
the element to be put at the back of the dequeue
- Returns
an effect that describes whether the enqueuing of the given element succeeded without blocking
- Inherited from
- DequeueSink
Alias for tryTakeFront in order to implement Queue
Alias for tryTakeFront in order to implement Queue
- Definition Classes
- Inherited from
- DequeueSource
Attempts to dequeue an element from the back of the dequeue, if one is available without semantically blocking.
Attempts to dequeue an element from the back of the dequeue, if one is available without semantically blocking.
- 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- Inherited from
- DequeueSource
Attempts to dequeue an element from the front of the dequeue, if one is available without semantically blocking.
Attempts to dequeue an element from the front of the dequeue, if one is available without semantically blocking.
- 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- Inherited from
- DequeueSource