Package akka.pattern

Interface FutureRef<T>

  • All Known Implementing Classes:
    AskPromiseRef, FutureRefImpl, PromiseRefImpl

    public interface FutureRef<T>
    A combination of a Future and an ActorRef associated with it, which points to an actor performing a task which will eventually resolve the Future.
    • Method Detail

      • ref

        ActorRef ref()
        ActorRef associated with this FutureRef.
      • future

        scala.concurrent.Future<T> future()
        Future associated with this FutureRef.