Skip to main content

flush_batch

Function flush_batch 

Source
fn flush_batch(
    kernel: &mut Box<dyn FnMut(&FloatWindows<'_>, &mut Vec<Option<f64>>) + Send>,
    pending: &mut PendingBatch,
    fields: &[FieldSamples],
    range_ms: i64,
    row: &mut Vec<Option<GridSample>>,
    output: &mut GridSeriesBuilder,
) -> Result<()>
Expand description

Runs the batch kernel over the accumulated points and appends its columns.