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 |
Edit this page