Package akka.pattern
Interface PromiseRef<T>
-
public interface PromiseRef<T>A combination of a Promise and an ActorRef associated with it, which points to an actor performing a task which will eventually resolve the Promise.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description scala.concurrent.Future<T>future()Future containing the value of the Promise associated with this PromiseRef.scala.concurrent.Promise<T>promise()Promise associated with this PromiseRef.ActorRefref()ActorRef associated with this PromiseRef.FutureRef<T>toFutureRef()Converts this PromiseRef to FutureRef, effectively narrowing it's API.
-