Class AskPattern$

java.lang.Object
org.apache.pekko.actor.typed.scaladsl.AskPattern$

public class AskPattern$ extends Object
The ask-pattern implements the initiator side of a request–reply protocol.

See AskPattern.Askable.ask for details

  • Field Details

    • MODULE$

      public static final AskPattern$ MODULE$
      Static reference to the singleton instance of this Scala object.
  • Constructor Details

    • AskPattern$

      public AskPattern$()
  • Method Details

    • 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)