Search Results for

    Show / Hide Table of Contents

    Enum Directive

    This enumeration defines the different types of directives used by the supervisor when dealing with child actors that fail.

    Namespace: Akka.Actor
    Assembly: Akka.dll
    Syntax
    public enum Directive

    Fields

    Name Description
    Escalate

    Escalates the failure to the supervisor of the supervisor, by rethrowing the cause of the failure, i.e. the supervisor fails with the same exception as the child.

    Restart

    Discards the old actor instance and replaces it with a new one. It then resumes message processing for the failed actor.

    Resume

    Resumes message processing for the failed actor

    Stop

    Stops the actor

    Extension Methods

    DirectiveExtensions.When<TException>(Directive)
    ObjectExtensions.IsDefaultForType<Directive>(Directive)
    ObjectExtensions.AsOption<Directive>(Directive)
    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