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.

@FunctionalInterface public interface AiGraphTimeoutHook
Figure task sequence timeout callback interface.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onGraphTimeout(AiInvocationContext<?> ctx, long timeoutMs)
    when the whole Graph Triggered when the running time exceeds the preset threshold.
  • Method Details

    • onGraphTimeout

      void onGraphTimeout(AiInvocationContext<?> ctx, long timeoutMs)
      when the whole Graph Triggered when the running time exceeds the preset threshold.
      Parameters:
      ctx - current execution context
      timeoutMs - Timeout exceeded (milliseconds)