Prelude API
    Preparing search index...

    Type Alias Directive

    Directive: "resume" | "restart" | "stop" | "escalate"

    What to do after a handler throws.

    • resume — drop the failing message and keep the current state.
    • restart — drop the failing message and re-initialise the state via init; the mailbox is kept.
    • stop — terminate the actor with status failed.
    • escalate — defer to the Supervisor; without one this means stop.