fn run_batch_with(
jobs: &[(UnitId, ProbeDef)],
run: fn(&ProbeDef) -> ProbeResult,
allowance: Duration,
) -> Vec<ProbeResult>Expand description
Run jobs on at most WORKERS threads and return by the batch deadline
(the longest timeout plus allowance): a probe not finished by then, or
not started, is Abandoned (§10: recorded Unknown and abandoned), and its
thread is never waited for.