Skip to main content

ProgressCallback

Type Alias ProgressCallback 

Source
pub type ProgressCallback = Box<dyn FnMut(ProgressInfo) -> Result<(), Box<dyn Error + Send + Sync>>>;
Expand description

Callback function type for reporting plot rendering progress

The callback receives progress information and returns a result. Errors from the callback are logged but do not stop rendering.

Aliased Typeยง

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