Package com.aispect.api
Interface AiGraphTimeoutHook
- All Known Subinterfaces:
AiGraphAgentHandler<T,R, F>
- All Known Implementing Classes:
AbstractGraphAgent,DynamicWorkflowGraphAgent
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Figure task sequence timeout callback interface.
-
Method Summary
Modifier and TypeMethodDescriptionvoidonGraphTimeout(AiInvocationContext<?> ctx, long timeoutMs) when the whole Graph Triggered when the running time exceeds the preset threshold.
-
Method Details
-
onGraphTimeout
when the whole Graph Triggered when the running time exceeds the preset threshold.- Parameters:
ctx- current execution contexttimeoutMs- Timeout exceeded (milliseconds)
-