Type alias HitlHandler

HitlHandler: ((request) => Promise<ApprovalDecision>)

An async function that receives an ApprovalRequest and resolves to an ApprovalDecision. Assign to HitlConfig.handler.

Type declaration