Class FishingOutcomes

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

public class FishingOutcomes extends Object
  • Constructor Details

    • FishingOutcomes

      public FishingOutcomes()
  • Method Details

    • complete

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

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

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