PropagateFailure
org.apache.pekko.stream.Attributes.CancellationStrategy.PropagateFailure
@ApiMayChange
case object PropagateFailure extends Strategy
Strategy that treats cancelStage in different ways depending on the cause that was given to the cancellation.
If the cause was a regular, active cancellation (SubscriptionWithCancelException.NoMoreElementsNeeded), the stage receiving this cancellation is completed regularly.
If another cause was given, this is treated as an error and the behavior is the same as with failStage.
This is a good default strategy.
Attributes
- Source
- Attributes.scala
- Graph
-
- Supertypes
- Self type
-
PropagateFailure.type
Members list
In this article