Type Alias: TurnEvents
ts
type TurnEvents = EventMap<{
message: [TurnStreamableContent];
thought: [TurnStreamableContent];
toolCall: [TurnToolCallContent];
}>;Functional events emitted by @nhtio/adk!TurnRunner during a turn.
Remarks
These events are pipeline-affecting and are registered via on / off / once.
message— a visible assistant message chunk; may be emitted at any point during the turn.thought— an internal reasoning/thinking trace chunk; may be emitted at any point during the turn. Not shown to end users by default.toolCall— emitted when the model requests a tool call and again when the result is available. Check TurnToolCallContent.isComplete to distinguish the two emissions.