Scala Library Documentation
|
|
scala/actors/Future.scala
]
abstract
class
Future[T](val
ch : InputChannel[Any])
extends
() => TA Future is a function of arity 0 that returns a value of type Any. Applying a future blocks the current actor until its value is available.
A future can be queried to find out whether its value is already available.
Value Summary | |
protected var
|
value : Option[T] |
Method Summary | |
abstract def
|
isSet : Boolean |
Methods inherited from Function0 | |
apply (abstract), toString |
Methods inherited from AnyRef | |
getClass, hashCode, equals, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized |
Methods inherited from Any | |
==, !=, isInstanceOf, asInstanceOf |
Value Details |
Method Details |
Scala Library Documentation
|
|