Skip to content

EscalationHandler

type EscalationHandler = (request) => Promise<EscalationOutcome>;

Host-provided escalation sink: queue a ticket, claim thread ownership, page an operator. Must not throw for expected failures — return { status: 'failed', error } instead (the runtime also catches).

Parameter Type

request

EscalationRequest

Promise<EscalationOutcome>