Package org.apache.pekko.stream
Class SubstreamCancelStrategy$
- java.lang.Object
-
- org.apache.pekko.stream.SubstreamCancelStrategy$
-
public class SubstreamCancelStrategy$ extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static SubstreamCancelStrategy$
MODULE$
Static reference to the singleton instance of this Scala object.
-
Constructor Summary
Constructors Constructor Description SubstreamCancelStrategy$()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SubstreamCancelStrategy
drain()
Drain substream on cancellation in order to prevent stalling of the stream of streams.SubstreamCancelStrategy
propagate()
Cancel the stream of streams if any substream is cancelled.
-
-
-
Field Detail
-
MODULE$
public static final SubstreamCancelStrategy$ MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Method Detail
-
propagate
public SubstreamCancelStrategy propagate()
Cancel the stream of streams if any substream is cancelled.
-
drain
public SubstreamCancelStrategy drain()
Drain substream on cancellation in order to prevent stalling of the stream of streams.
-
-