Prelude API
Guides
Skill
GitHub
Preparing search index...
@prelude/actor
Directive
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
.
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Guides
Skill
GitHub
Prelude API
Loading...
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 viainit; the mailbox is kept.stop— terminate the actor with statusfailed.escalate— defer to the Supervisor; without one this meansstop.