Type Alias: DispatchRunnerFunctionalHooks
ts
type DispatchRunnerFunctionalHooks = {
message: [[TurnStreamableContent], []];
thought: [[TurnStreamableContent], []];
toolCall: [[TurnToolCallContent], []];
};Defined in: lib/types/dispatch_runner.ts:347
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 | Defined in |
|---|---|---|---|
message | [[TurnStreamableContent], []] | Fired for every streaming message chunk. Forwarded from the context. | lib/types/dispatch_runner.ts:349 |
thought | [[TurnStreamableContent], []] | Fired for every reasoning trace chunk. Forwarded from the context. | lib/types/dispatch_runner.ts:351 |
toolCall | [[TurnToolCallContent], []] | Fired for every tool call (on request and on settlement). Forwarded from the context. | lib/types/dispatch_runner.ts:353 |