mirror of
https://github.com/openai/codex.git
synced 2026-11-05 20:10:33 +00:00
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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user