async fn execute_jobs<F, Fut>(
count: usize,
concurrency: usize,
token: &CancellationToken,
deadline: Option<Instant>,
execute: F,
) -> (Accumulator, Duration, usize)Expand description
Stop scheduling at the deadline; finish in-flight operations before returning.