TEnqueue
zio.stm.TEnqueue
sealed trait TEnqueue[-A] extends Serializable
A transactional queue that can only be enqueued.
Attributes
- Source
- TEnqueue.scala
- Graph
-
- Supertypes
-
trait Serializableclass Objecttrait Matchableclass Any
Members list
Value members
Abstract methods
The maximum capacity of the queue.
Checks whether the queue is shut down.
Offers a value to the queue, returning whether the value was offered to the queue.
Offers a value to the queue, returning whether the value was offered to the queue.
Attributes
- Source
- TEnqueue.scala
Offers all of the specified values to the queue, returning whether they were offered to the queue.
Offers all of the specified values to the queue, returning whether they were offered to the queue.
Attributes
- Source
- TEnqueue.scala
Shuts down the queue.
The current number of values in the queue.
Concrete methods
Waits for the hub to be shut down.
Checks if the queue is empty.
Checks if the queue is at capacity.
In this article