SimpleQueue

sttp.client3.internal.ws.SimpleQueue
trait SimpleQueue[F[_], T]

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class SyncQueue[T]

Members list

Value members

Abstract methods

def offer(t: T): Unit

Eagerly adds the given item to the queue.

Eagerly adds the given item to the queue.

Attributes

def poll: F[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