Skip to main content

tower_sampler

Function tower_sampler 

Source
pub fn tower_sampler(
    labels: impl Fn(&str) -> Option<BlockLabel> + Send + Sync + 'static,
) -> Arc<dyn Fn() -> Result<Vec<PaneStat>> + Send + Sync> ⓘ
Expand description

The live sampler: Tower’s sample of this machine, with each pane named by labels (a pane labels doesn’t know, such as one that was closed, is left out).