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
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AskPattern.Askable<Req>
static class
AskPattern.Askable$
-
Constructor Summary
Constructors Constructor Description AskPattern()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <Req> AskPattern.Askable<Req>
Askable(RecipientRef<Req> ref)
static Scheduler
schedulerFromActorSystem(ActorSystem<?> system)
Provides a scheduler from an actor system (that will likely already be implicit in the scope) to minimize ask boilerplate.
-
-
-
Method Detail
-
schedulerFromActorSystem
public static 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 static final <Req> AskPattern.Askable<Req> Askable(RecipientRef<Req> ref)
-
-