Directive
Defined in: src/Supervision.ts:2
Supervisor directives decide what happens to a failing child actor.
Enumeration Members
Section titled “Enumeration Members”Escalate
Section titled “Escalate”Escalate:
"escalate"
Defined in: src/Supervision.ts:10
Escalate the failure to the supervisor’s own supervisor.
Restart
Section titled “Restart”Restart:
"restart"
Defined in: src/Supervision.ts:6
Destroy and recreate the actor, losing its state.
Resume
Section titled “Resume”Resume:
"resume"
Defined in: src/Supervision.ts:4
Ignore the failure and keep the actor state; resume message processing.
Stop:
"stop"
Defined in: src/Supervision.ts:8
Stop the failing actor permanently.