Skip to content
1 min read · 59 words

Type Alias: EmitThoughtFn

ts
type EmitThoughtFn = (content: TurnStreamableContent) => void;

Defined in: lib/types/turn_runner.ts:219

A function that emits a thought event on the @nhtio/adk!TurnRunner.

Parameters

ParameterType
contentTurnStreamableContent

Returns

void

Remarks

Injected into @nhtio/adk!TurnContext so middleware can surface reasoning trace chunks without holding a reference to the runner or its emitter.