CatsSimpleQueue

sttp.client3.httpclient.cats.CatsSimpleQueue
class CatsSimpleQueue[F[_], A](queue: Queue[F, A], capacity: Option[Int], dispatcher: Dispatcher[F])(implicit F: MonadError[F, Throwable]) extends SimpleQueue[F, A]

Attributes

Graph
Supertypes
trait SimpleQueue[F, A]
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

override def offer(t: A): Unit

Eagerly adds the given item to the queue.

Eagerly adds the given item to the queue.

Attributes

Definition Classes
SimpleQueue
override def poll: F[A]

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
SimpleQueue