Skip to main content

OptimizeProgressFn

Type Alias OptimizeProgressFn 

Source
pub type OptimizeProgressFn = Arc<dyn Fn(OptimizeEvent) + Send + Sync>;
Expand description

Arc rather than Box so the same callback can be cloned into the PondIndexProgress Arc that Lance’s IndexBuildProgress builder demands - otherwise intra-index stage events have no path back to the CLI spinner.

Aliased Type§

pub struct OptimizeProgressFn { /* private fields */ }