Skip to main content

start_offsets

Function start_offsets 

Source
pub(crate) fn start_offsets(
    costs: &[f32],
    noise: impl FnMut() -> f64,
) -> Vec<Duration>
Expand description

How long after the send each target’s delivery starts, in the order of costs (one per target, a COST_*). noise gives a value in 0..1 for each paced start; 0.5 is no jitter.