abstract
class
Future[+T] extends Responder[T] with () ⇒ T
Instance Constructors
-
new
Future()
Abstract Value Members
-
abstract
def
apply(): T
-
abstract
def
inputChannel: InputChannel[T]
-
abstract
def
isSet: Boolean
-
abstract
def
respond(k: (T) ⇒ Unit): Unit
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
def
+(other: String): String
-
def
->[B](y: B): (Future[T], B)
-
final
def
==(arg0: Any): Boolean
-
final
def
asInstanceOf[T0]: T0
-
def
clone(): AnyRef
-
def
ensuring(cond: (Future[T]) ⇒ Boolean, msg: ⇒ Any): Future[T]
-
def
ensuring(cond: (Future[T]) ⇒ Boolean): Future[T]
-
def
ensuring(cond: Boolean, msg: ⇒ Any): Future[T]
-
def
ensuring(cond: Boolean): Future[T]
-
final
def
eq(arg0: AnyRef): Boolean
-
def
equals(arg0: Any): Boolean
-
def
filter(p: (T) ⇒ Boolean): Responder[T]
-
def
finalize(): Unit
-
def
flatMap[B](f: (T) ⇒ Responder[B]): Responder[B]
-
def
foreach(k: (T) ⇒ Unit): Unit
-
def
formatted(fmtstr: String): String
-
final
def
getClass(): Class[_]
-
def
hashCode(): Int
-
final
def
isInstanceOf[T0]: Boolean
-
def
map[B](f: (T) ⇒ B): Responder[B]
-
final
def
ne(arg0: AnyRef): Boolean
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
toString(): String
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
-
def
→[B](y: B): (Future[T], B)
Inherited from () ⇒ T
Value Members
-
abstract
def
apply(): T
-
def
toString(): String
Inherited from Responder[T]
Value Members
-
abstract
def
respond(k: (T) ⇒ Unit): Unit
-
def
filter(p: (T) ⇒ Boolean): Responder[T]
-
def
flatMap[B](f: (T) ⇒ Responder[B]): Responder[B]
-
def
foreach(k: (T) ⇒ Unit): Unit
-
def
map[B](f: (T) ⇒ B): Responder[B]
Inherited from AnyRef
Value Members
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
final
def
==(arg0: Any): Boolean
-
def
clone(): AnyRef
-
final
def
eq(arg0: AnyRef): Boolean
-
def
equals(arg0: Any): Boolean
-
def
finalize(): Unit
-
final
def
getClass(): Class[_]
-
def
hashCode(): Int
-
final
def
ne(arg0: AnyRef): Boolean
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
Inherited from Any
Value Members
-
final
def
asInstanceOf[T0]: T0
-
final
def
isInstanceOf[T0]: Boolean
Inherited by implicit conversion any2stringadd from
Future[T] to any2stringadd[Future[T]]
Value Members
-
def
+(other: String): String
Inherited by implicit conversion StringFormat from
Future[T] to StringFormat[Future[T]]
Value Members
-
def
formatted(fmtstr: String): String
Inherited by implicit conversion Ensuring from
Future[T] to Ensuring[Future[T]]
Value Members
-
def
ensuring(cond: (Future[T]) ⇒ Boolean, msg: ⇒ Any): Future[T]
-
def
ensuring(cond: (Future[T]) ⇒ Boolean): Future[T]
-
def
ensuring(cond: Boolean, msg: ⇒ Any): Future[T]
-
def
ensuring(cond: Boolean): Future[T]
Inherited by implicit conversion ArrowAssoc from
Future[T] to ArrowAssoc[Future[T]]
Value Members
-
def
->[B](y: B): (Future[T], B)
-
def
→[B](y: B): (Future[T], B)
Ungrouped
-
abstract
def
apply(): T
-
abstract
def
inputChannel: InputChannel[T]
-
abstract
def
isSet: Boolean
-
abstract
def
respond(k: (T) ⇒ Unit): Unit
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
def
+(other: String): String
-
def
->[B](y: B): (Future[T], B)
-
final
def
==(arg0: Any): Boolean
-
final
def
asInstanceOf[T0]: T0
-
def
clone(): AnyRef
-
def
ensuring(cond: (Future[T]) ⇒ Boolean, msg: ⇒ Any): Future[T]
-
def
ensuring(cond: (Future[T]) ⇒ Boolean): Future[T]
-
def
ensuring(cond: Boolean, msg: ⇒ Any): Future[T]
-
def
ensuring(cond: Boolean): Future[T]
-
final
def
eq(arg0: AnyRef): Boolean
-
def
equals(arg0: Any): Boolean
-
def
filter(p: (T) ⇒ Boolean): Responder[T]
-
def
finalize(): Unit
-
def
flatMap[B](f: (T) ⇒ Responder[B]): Responder[B]
-
def
foreach(k: (T) ⇒ Unit): Unit
-
def
formatted(fmtstr: String): String
-
final
def
getClass(): Class[_]
-
def
hashCode(): Int
-
final
def
isInstanceOf[T0]: Boolean
-
def
map[B](f: (T) ⇒ B): Responder[B]
-
final
def
ne(arg0: AnyRef): Boolean
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
toString(): String
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
-
def
→[B](y: B): (Future[T], B)
-
abstract
def
apply(): T
-
abstract
def
inputChannel: InputChannel[T]
-
abstract
def
isSet: Boolean
-
abstract
def
respond(k: (T) ⇒ Unit): Unit
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
def
+(other: String): String
-
def
->[B](y: B): (Future[T], B)
-
final
def
==(arg0: Any): Boolean
-
final
def
asInstanceOf[T0]: T0
-
def
clone(): AnyRef
-
def
ensuring(cond: (Future[T]) ⇒ Boolean, msg: ⇒ Any): Future[T]
-
def
ensuring(cond: (Future[T]) ⇒ Boolean): Future[T]
-
def
ensuring(cond: Boolean, msg: ⇒ Any): Future[T]
-
def
ensuring(cond: Boolean): Future[T]
-
final
def
eq(arg0: AnyRef): Boolean
-
def
equals(arg0: Any): Boolean
-
def
filter(p: (T) ⇒ Boolean): Responder[T]
-
def
finalize(): Unit
-
def
flatMap[B](f: (T) ⇒ Responder[B]): Responder[B]
-
def
foreach(k: (T) ⇒ Unit): Unit
-
def
formatted(fmtstr: String): String
-
final
def
getClass(): Class[_]
-
def
hashCode(): Int
-
final
def
isInstanceOf[T0]: Boolean
-
def
map[B](f: (T) ⇒ B): Responder[B]
-
final
def
ne(arg0: AnyRef): Boolean
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
toString(): String
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
-
def
→[B](y: B): (Future[T], B)
A function of arity 0, returing a value of type
T
that, when applied, blocks the current actor (Actor.self
) until the future's value is available.A future can be queried to find out whether its value is already available without blocking.
(Since version 2.11.0) Use the scala.concurrent.Future instead. For migration from the scala.actors package refer to the Actors Migration Guide.