Skip to content

Directive

Defined in: src/Supervision.ts:2

Supervisor directives decide what happens to a failing child actor.

Escalate: "escalate"

Defined in: src/Supervision.ts:10

Escalate the failure to the supervisor’s own supervisor.


Restart: "restart"

Defined in: src/Supervision.ts:6

Destroy and recreate the actor, losing its state.


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.