Search Results for

    Show / Hide Table of Contents

    Interface IKillSwitch

    A IKillSwitch allows completion of IGraph<TShape>s from the outside by completing IGraph<TShape>s of FlowShape<TIn, TOut> linked to the switch. Depending on whether the IKillSwitch is a UniqueKillSwitch or a SharedKillSwitch one or multiple streams might be linked with the switch. For details see the documentation of the concrete subclasses of this interface.

    Namespace: Akka.Streams
    Assembly: Akka.Streams.dll
    Syntax
    public interface IKillSwitch

    Methods

    | Edit this page View Source

    Abort(Exception)

    After calling Abort(Exception) the linked IGraph<TShape>s of FlowShape<TIn, TOut> are failed.

    Declaration
    void Abort(Exception cause)
    Parameters
    Type Name Description
    Exception cause

    TBD

    | Edit this page View Source

    Shutdown()

    After calling Shutdown() the linked IGraph<TShape>s of FlowShape<TIn, TOut> are completed normally.

    Declaration
    void Shutdown()

    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