class Future

[source: scala/actors/Future.scala]

abstract class Future[T](val ch : InputChannel[Any])
extends () => T

A 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.

Philipp Haller
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
protected var value : Option[T]

Method Details
abstract def isSet : Boolean