Skip to main content

ToolUpdateSink

Type Alias ToolUpdateSink 

Source
pub type ToolUpdateSink = UnboundedSender<ToolResult>;
Expand description

Sink the tool can use to publish partial progress while running.

The loop forwards each partial as AgentEvent::ToolExecutionUpdate. Tools call update.send(...) zero or more times before returning the final result.

Aliased Typeยง

pub struct ToolUpdateSink { /* private fields */ }