Skip to main content

ToolEventTx

Type Alias ToolEventTx 

Source
pub type ToolEventTx = Sender<ToolEvent>;
Expand description

Sender half of the bounded channel used to stream ToolEvents to the UI.

Capacity is 1024 slots. Streaming variants (OutputChunk, Started) use try_send and drop on full; terminal variants (Completed, Rollback) use send().await to guarantee delivery.

Created via tokio::sync::mpsc::channel with capacity TOOL_EVENT_CHANNEL_CAP.

Aliased Typeยง

pub struct ToolEventTx { /* private fields */ }