SyncQueue

sttp.client3.internal.ws.SyncQueue
class SyncQueue[T](capacity: Option[Int]) extends SimpleQueue[Identity, T]

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

override def offer(t: T): Unit

Eagerly adds the given item to the queue.

Eagerly adds the given item to the queue.

Attributes

Definition Classes
override def poll: Identity[T]

Takes an element from the queue or suspends, until one is available. May be eager or lazy, depending on F.

Takes an element from the queue or suspends, until one is available. May be eager or lazy, depending on F.

Attributes

Definition Classes