FutureSimpleQueue

class FutureSimpleQueue[T](capacity: Option[Int])(implicit ec: ExecutionContext) extends SimpleQueue[[T] =>> Future[T], T]
trait SimpleQueue[[T] =>> Future[T], T]
class Object
trait Matchable
class Any

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.

Definition Classes
override def poll: Future[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.

Definition Classes