Class Attributes.CancellationStrategy.AfterDelay
Strategy that allows to delay any action when cancelStage
is invoked.
The idea of this strategy is to delay any action on cancellation because it is expected that the stage is completed
through another path in the meantime. The downside is that a stage and a stream may live longer than expected if no
such signal is received and cancellation is invoked later on. In streams with many stages that all apply this strategy,
this strategy might significantly delay the propagation of a cancellation signal because each upstream stage might impose
such a delay. During this time, the stream will be mostly "silent", i.e. it cannot make progress because of backpressure,
but you might still be able observe a long delay at the ultimate source.
Inheritance
Attributes.CancellationStrategy.AfterDelay
Assembly: Akka.Streams.dll
Syntax
public class AfterDelay : Attributes.CancellationStrategy.IStrategy
Constructors
|
Improve this Doc
View Source
AfterDelay(TimeSpan, Attributes.CancellationStrategy.IStrategy)
Declaration
public AfterDelay(TimeSpan delay, Attributes.CancellationStrategy.IStrategy strategy)
Parameters
Properties
|
Improve this Doc
View Source
Delay
Declaration
public TimeSpan Delay { get; }
Property Value
|
Improve this Doc
View Source
Strategy
Declaration
public Attributes.CancellationStrategy.IStrategy Strategy { get; }
Property Value
Implements
Extension Methods