Skip to main content

StreamingProgressCallback

Type Alias StreamingProgressCallback 

Source
pub type StreamingProgressCallback = Box<dyn Fn(f32) + Send + Sync>;
Expand description

Callback for streaming timeout progress updates Progress value is 0.0-1.0 representing elapsed / total_timeout

Aliased Typeยง

pub struct StreamingProgressCallback(/* private fields */);