AdoptedTaskRunSpec
record AdoptedTaskRunSpec(CompletableFuture<String> future) implements TaskRunSpec
源码Source
io/agentscope/harness/agent/subagent/task/TaskRunSpec.java:60承载 Adopted 任务运行规格数据的记录类型。位于 io.agentscope.harness.agent.subagent.task 包,实现 TaskRunSpec。核心成员包括 future。
Adopts an already-running CompletableFuture as a tracked background task. Used when
a sync execution exceeds its timeout and is promoted to async: the future is still in
progress and only needs status-tracking callbacks, not a new executor submission.
记录组件摘要Record Component Summary
| 组件Component | 类型Type | 说明Description |
|---|---|---|
future | CompletableFuture<String> | 执行异步相关操作。 Performs the future operation. |
记录组件详情Record Component Detail
future
CompletableFuture<String> future执行异步相关操作。
Performs the future operation.
源码Source
io/agentscope/harness/agent/subagent/task/TaskRunSpec.java:60