Class SubstreamCancelStrategy$

java.lang.Object
org.apache.pekko.stream.SubstreamCancelStrategy$

public class SubstreamCancelStrategy$ extends Object
Deprecated.
Use .withAttributes(ActorAttributes.supervisionStrategy(equivalentDecider)) rather than a SubstreamCancelStrategy. Since 1.1.0.
  • Field Details

    • MODULE$

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

    • SubstreamCancelStrategy$

      public SubstreamCancelStrategy$()
      Deprecated.
  • Method Details

    • propagate

      public SubstreamCancelStrategy propagate()
      Deprecated.
      Cancel the stream of streams if any substream is cancelled.
    • drain

      public SubstreamCancelStrategy drain()
      Deprecated.
      Drain substream on cancellation in order to prevent stalling of the stream of streams.