Skip to main content

Type Alias: TToolEndsRunHandler<TInput, TOutput>

TToolEndsRunHandler<TInput, TOutput> = object["handler"]

Defined in: contracts/types.ts:320

The tool's own rule for ending the run, evaluated by ToolPolicy.endsRun after the tool executed (D86). Declared through a method so it stays bivariant like execute: an IToolDef<{amount: number}, {status: string}> is still an IToolDef.

Type Parameters​

TInput​

TInput

TOutput​

TOutput