pub async fn barrier(
expr: impl FnMut() -> bool,
timeout: Duration,
label: impl ToString,
) -> Result<(), DominatorTestingError>Expand description
Utility for asynchronously yielding while waiting for a condition to be met. Supports timeout