Scala Library
|
|
scala/actors/Futures.scala
]
object
Futures
extends
AnyRefFutures
object contains methods that operate on Futures.Method Summary | |
def
|
alarm (t : Long) : Future[Nothing] |
def
|
awaitAll (timeout : Long, fts : Future[Any]*) : List[Option[Any]] |
def
|
awaitEither [a, b](ft1 : Future[a], ft2 : Future[b]) : Any |
def
|
future [T](body : => T) : Future[T] |
Methods inherited from AnyRef | |
getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized |
Methods inherited from Any | |
==, !=, isInstanceOf, asInstanceOf |
Method Details |
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.
Scala Library
|
|