Type Alias: DispatchRunnerFunctionalHooks
ts
type DispatchRunnerFunctionalHooks = {
message: [[TurnStreamableContent], []];
thought: [[TurnStreamableContent], []];
toolCall: [[TurnToolCallContent], []];
};Functional hook events on @nhtio/adk!DispatchRunner.
Remarks
Pipeline-affecting events forwarded from the @nhtio/adk!DispatchContext. Register handlers via the hooks field of the dispatch input.
Properties
| Property | Type | Description |
|---|---|---|
message | [[TurnStreamableContent], []] | Fired for every streaming message chunk. Forwarded from the context. |
thought | [[TurnStreamableContent], []] | Fired for every reasoning trace chunk. Forwarded from the context. |
toolCall | [[TurnToolCallContent], []] | Fired for every tool call (on request and on settlement). Forwarded from the context. |