AnnounceDispatcher
@FunctionalInterface public interface AnnounceDispatcher
源码Source
io/agentscope/harness/coding/session/SessionAgentManager.java:73–80定义 Announce 调度器契约的接口。位于 io.agentscope.harness.coding.session 包。核心成员包括 dispatch。
Callback invoked when a subagent run completes and an announce payload is ready.
方法摘要Method Summary
| 方法Method | 说明Description |
|---|---|
public boolean dispatch(PendingCompletion completion) | 设置该参数。 Performs the dispatch operation. |
方法详情Method Detail
dispatch
public boolean dispatch(PendingCompletion completion)
设置该参数。
Performs the dispatch operation.
参数Parameters
| 名称Name | 类型Type | 说明Description |
|---|---|---|
completion | PendingCompletion | 补全(类型 `PendingCompletion`)。structured announce payload for the requester |
boolean返回布尔值,表示判断结果。`true` if this dispatcher fully handled announce (skip pending queue)
源码Source
io/agentscope/harness/coding/session/SessionAgentManager.java:79