AfterInvocationEvent
Defined in: src/hooks/events.ts:113
Event triggered at the end of an agent request. Fired after all processing completes, regardless of success or error. Uses reverse callback ordering for proper cleanup semantics.
Extends
Section titled “Extends”Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new AfterInvocationEvent(data): AfterInvocationEvent;Defined in: src/hooks/events.ts:117
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
data | { agent: AgentData; } |
data.agent | AgentData |
Returns
Section titled “Returns”AfterInvocationEvent
Overrides
Section titled “Overrides”Properties
Section titled “Properties”readonly type: "afterInvocationEvent";Defined in: src/hooks/events.ts:114
readonly agent: AgentData;Defined in: src/hooks/events.ts:115