Clarify message board notification delivery documentation (#59713)

Document that `AgentMessageBoard` notification delivery follows the host's
scheduling and wake policy and may buffer notifications for idle recipients.
Link to `MessageBoardHost` for the delivery contract.

GitOrigin-RevId: fb085fe2c43c74b85b4e6fe471e7d4ae216bf3db
This commit is contained in:
jif
2026-11-05 18:12:28 +00:00
committed by copyberry
parent 2a32e7c963
commit c587fbc2fc
+2 -2
View File
@@ -32,8 +32,8 @@ const _: Option<&dyn AgentMessageBoard> = None;
/// Implementations enforce hard input/output limits and return backend failures
/// as errors. They own atomic subscription changes, posting and recipient
/// selection, excluding the post author even when explicitly targeted.
/// Notification delivery must neither wake finalized agents nor
/// leave notifications for a later turn.
/// Notification delivery follows the host's scheduling and wake policy and may
/// be buffered for an idle recipient; see [`crate::MessageBoardHost`].
///
/// Boxed Send futures support an Arc<dyn AgentMessageBoard>, like AgentControl.
pub trait AgentMessageBoard: Send + Sync {