Package akka.actor.typed.scaladsl
Class AskPattern$
- java.lang.Object
-
- akka.actor.typed.scaladsl.AskPattern$
-
public class AskPattern$ extends java.lang.Object
The ask-pattern implements the initiator side of a request–reply protocol.See
AskPattern.Askable.ask
for details
-
-
Field Summary
Fields Modifier and Type Field Description static AskPattern$
MODULE$
Static reference to the singleton instance of this Scala object.
-
Constructor Summary
Constructors Constructor Description AskPattern$()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <Req> AskPattern.Askable<Req>
Askable(RecipientRef<Req> ref)
Scheduler
schedulerFromActorSystem(ActorSystem<?> system)
Provides a scheduler from an actor system (that will likely already be implicit in the scope) to minimize ask boilerplate.
-
-
-
Field Detail
-
MODULE$
public static final AskPattern$ MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Method Detail
-
schedulerFromActorSystem
public Scheduler schedulerFromActorSystem(ActorSystem<?> system)
Provides a scheduler from an actor system (that will likely already be implicit in the scope) to minimize ask boilerplate.
-
Askable
public final <Req> AskPattern.Askable<Req> Askable(RecipientRef<Req> ref)
-
-