Search Results for

    Show / Hide Table of Contents

    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
    object
    Attributes.CancellationStrategy.AfterDelay
    Implements
    Attributes.CancellationStrategy.IStrategy
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Akka.Streams
    Assembly: Akka.Streams.dll
    Syntax
    public class Attributes.CancellationStrategy.AfterDelay : Attributes.CancellationStrategy.IStrategy

    Constructors

    | Edit this page View Source

    AfterDelay(TimeSpan, IStrategy)

    Declaration
    public AfterDelay(TimeSpan delay, Attributes.CancellationStrategy.IStrategy strategy)
    Parameters
    Type Name Description
    TimeSpan delay
    Attributes.CancellationStrategy.IStrategy strategy

    Properties

    | Edit this page View Source

    Delay

    Declaration
    public TimeSpan Delay { get; }
    Property Value
    Type Description
    TimeSpan
    | Edit this page View Source

    Strategy

    Declaration
    public Attributes.CancellationStrategy.IStrategy Strategy { get; }
    Property Value
    Type Description
    Attributes.CancellationStrategy.IStrategy

    Implements

    Attributes.CancellationStrategy.IStrategy

    Extension Methods

    ObjectExtensions.IsDefaultForType<T>(T)
    ObjectExtensions.AsOption<T>(T)
    Extensions.AsInstanceOf<T>(object)
    In this article
    • githubEdit this page
    • View Source
    Back to top
    Contribute
    • Project Chat
    • Discussion Forum
    • Source Code
    Support
    • Akka.NET Support Plans
    • Akka.NET Observability Tools
    • Akka.NET Training & Consulting
    Maintained By
    • Petabridge - The Akka.NET Company
    • Learn Akka.NET