dev.tauri.choam.async.AsyncQueue
See theAsyncQueue companion trait
object AsyncQueue
Various asynchronous queues
Adds asynchronous variants to the methods of Queue (see the last column of the table below). These operations have a result type in an asynchronous F, and may be fiber-blocking. For example, asynchronously removing an element from an empty queue fiber-blocks until the queue is non-empty (or until the fiber is cancelled).
Method summary of the various operations:
|
|
|
|
|
|---|---|---|---|
|
insert |
|
|
|
|
remove |
|
- |
|
|
examine |
|
- |
- |
TODO: implement peek
Attributes
- See also
-
Queue for the synchronous methods (all except the last column of this table)
- Companion
- trait
- Source
- AsyncQueue.scala
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
AsyncQueue.type
Members list
In this article