pub async fn join_all_with_timeout<T>(
name: impl Into<String>,
timeout: Duration,
handles: Vec<JoinHandle<T>>,
) -> Vec<CheckResult>Expand description
Verify that all spawned tasks finish within the given timeout.
Pass a vector of JoinHandles. Returns one CheckResult per task,
each tagged async with numeric Evidence for the index and
timeout / elapsed.
Verdicts:
- Task completed ->
Pass, withelapsed_msevidence. - Task panicked or was cancelled ->
Fail (Critical), withtask_panickedtag. - Task did not finish in time ->
Fail (Error), withtimeouttag.