Skip to main content

ProgressCallback

Type Alias ProgressCallback 

Source
pub type ProgressCallback<'a> = &'a mut dyn FnMut(f64, Option<f64>, Option<&str>);
Expand description

Callback for receiving progress notifications during tool execution.

The callback receives the progress value, optional total, and optional message.