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.
Callback invoked when a background task reaches a terminal state (COMPLETED or FAILED).
result is null when the task failed.-
Method Summary
Modifier and TypeMethodDescriptionvoidonCompleted(io.agentscope.core.agent.RuntimeContext rc, String taskId, String subAgentId, String sessionId, String result)
-
Method Details
-
onCompleted
-