- Companion
- class
Type members
Classlikes
Value members
Concrete methods
Creates a bounded queue terminated by enqueueing None
. All elements before None
are preserved.
Creates a bounded queue terminated by enqueueing None
. All elements before None
are preserved.
Creates a queue which stores the last maxSize
enqueued elements and which never blocks on enqueue.
Creates a queue which stores the last maxSize
enqueued elements and which never blocks on enqueue.
Creates a queue terminated by enqueueing None
. All elements before None
are preserved and never blocks on enqueue.
Creates a queue terminated by enqueueing None
. All elements before None
are preserved and never blocks on enqueue.
Created a bounded queue that distributed always at max fairSize
elements to any subscriber.
Created a bounded queue that distributed always at max fairSize
elements to any subscriber.
Creates an unbounded queue that distributed always at max fairSize
elements to any subscriber.
Creates an unbounded queue that distributed always at max fairSize
elements to any subscriber.
Provides constructors for Queue with state initialized using
another Sync
datatype.
Provides constructors for Queue with state initialized using
another Sync
datatype.
This method uses the Partially Applied Type Params technique
val queue = Queue.in[SyncIO].unbounded[IO, String]
Created an unbounded queue terminated by enqueueing None
. All elements before None
.
Created an unbounded queue terminated by enqueueing None
. All elements before None
.
Creates a queue which allows at most a single element to be enqueued at any time.
Creates a queue which allows at most a single element to be enqueued at any time.
Like synchronous, except that any enqueue of None
will never block and cancels any dequeue operation.
Like synchronous, except that any enqueue of None
will never block and cancels any dequeue operation.