Interface AgentStopHandler
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
-
Method Summary
Modifier and TypeMethodDescriptionhandle(AgentStopHookInput input, HookInvocation invocation) Handles an agent-stop hook invocation.
-
Method Details
-
handle
Handles an agent-stop hook invocation.- Parameters:
input- the hook inputinvocation- context information about the invocation- Returns:
- a future that resolves with the hook output, or
nullto let the agent stop
-