AS AgentScopeAPI 手册 / API Reference

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
completionPendingCompletion补全(类型 `PendingCompletion`)。structured announce payload for the requester
返回Returns boolean
返回布尔值,表示判断结果。`true` if this dispatcher fully handled announce (skip pending queue)
源码Source io/agentscope/harness/coding/session/SessionAgentManager.java:79
基于官方固定版本源码静态生成Generated from pinned official sources · Python 2.0.11 · Java 2.0.4
签名与文档为静态抽取;如有疑问请以源码为准。Signatures and docs are extracted statically; verify against the source when in doubt.