Skip to content

LevelHandler

LevelHandler = (task, state) => Promise<{ cost?: number; data?: unknown; error?: string; escalate: boolean; success: boolean; }>

Defined in: escalation/ladder.ts:59

Handler function for a specific escalation level

Task

EscalationState

Promise<{ cost?: number; data?: unknown; error?: string; escalate: boolean; success: boolean; }>