Search Results for

    Show / Hide Table of Contents

    Class Attributes.CancellationStrategy

    Cancellation strategies provide a way to configure the behavior of a stage when cancelStage is called.

    It is only relevant for stream components that have more than one output and do not define a custom cancellation behavior by overriding onDownstreamFinish. In those cases, if the first output is cancelled, the default behavior is to call cancelStage which shuts down the stage completely. The given strategy will allow customization of how the shutdown procedure should be done precisely.

    Inheritance
    object
    Attributes.CancellationStrategy
    Implements
    Attributes.IMandatoryAttribute
    Attributes.IAttribute
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Akka.Streams
    Assembly: Akka.Streams.dll
    Syntax
    public sealed class Attributes.CancellationStrategy : Attributes.IMandatoryAttribute, Attributes.IAttribute

    Constructors

    | Edit this page View Source

    CancellationStrategy(IStrategy)

    Declaration
    public CancellationStrategy(Attributes.CancellationStrategy.IStrategy strategy)
    Parameters
    Type Name Description
    Attributes.CancellationStrategy.IStrategy strategy

    Properties

    | Edit this page View Source

    Strategy

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

    Implements

    Attributes.IMandatoryAttribute
    Attributes.IAttribute

    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