in scala.actors
object Futures

`object` Futures
  `extends` java.lang.Object
  `with` scala.ScalaObject

  The Futures object contains methods that operate on Futures.

Version:
  0.9.4
Author:
  Philipp Haller

Constructor Summary
| `def` this

Def Summary
| `def` alarm (t: scala.Long) : scala.actors.Future[scala.Nothing]
| `def` awaitAll (timeout: scala.Long, fts: scala.actors.Future[scala.Any]*) : scala.List[scala.Option[scala.Any]] Awaits all futures returning an option containing a list of replies, or timeouts returning None. Note that some of the futures might already have been awaited.
| `def` awaitEither [a, b] (ft1: scala.actors.Future[a], ft2: scala.actors.Future[b]) : scala.Any
| `def` future [T] (body: => T) : scala.actors.Future[T]

Constructor Detail

`def` this

Def Detail

`def` alarm (t: scala.Long): scala.actors.Future[scala.Nothing]

`def` awaitAll (timeout: scala.Long, fts: scala.actors.Future[scala.Any]*): scala.List[scala.Option[scala.Any]]

  Awaits all futures returning an option containing a list of replies, or timeouts returning None. Note that some of the futures might already have been awaited.

`def` awaitEither [a, b](ft1: scala.actors.Future[a], ft2: scala.actors.Future[b]): scala.Any

`def` future [T](body: => T): scala.actors.Future[T]