Interface TaskRepository.TaskCompletionCallback

Enclosing interface:
TaskRepository
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 static interface TaskRepository.TaskCompletionCallback
Callback invoked when a background task reaches a terminal state (COMPLETED or FAILED). result is null when the task failed.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onCompleted(io.agentscope.core.agent.RuntimeContext rc, String taskId, String subAgentId, String sessionId, String result)
     
  • Method Details

    • onCompleted

      void onCompleted(io.agentscope.core.agent.RuntimeContext rc, String taskId, String subAgentId, String sessionId, String result)