MutableCollector

gears.async.Future.MutableCollector
class MutableCollector[T](futures: Future[T]*) extends Collector[T]

Like Collector, but exposes the ability to add futures after creation.

Attributes

Graph
Supertypes
class Collector[T]
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

inline def +=(future: Future[T]): Unit
inline def add(future: Future[T]): Unit

Add a new Future into the collector.

Add a new Future into the collector.

Attributes

Inherited methods

final def results: ReadableChannel[Future[T]]

Output channels of all finished futures.

Output channels of all finished futures.

Attributes

Inherited from:
Collector