Class FishingOutcomes$

java.lang.Object
org.apache.pekko.actor.testkit.typed.scaladsl.FishingOutcomes$

public class FishingOutcomes$ extends Object
  • Field Details

    • MODULE$

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

    • FishingOutcomes$

      public FishingOutcomes$()
  • Method Details

    • complete

      public FishingOutcome complete()
      Complete fishing and return all messages up until this
    • continueAndIgnore

      public FishingOutcome continueAndIgnore()
      Consume this message, but do not collect it into the result, and continue with the next message
    • fail

      public FishingOutcome fail(String message)
      Fail fishing with a custom error message