pub async fn wait_for(&mut self, condition: impl FnMut(&Health) -> bool) -> Health {
        match self.health_receiver.wait_for(condition).await {
            Ok(health) => health.clone(),
            Err(_) => future::pending().await,
        }
    }
Waits until the specified `condition` is true for the tracked [`Health`], and returns health.
Mostly useful for testing.

If the health updater associated with this check is dropped, this method can wait indefinitely.
core/lib/health_check/src/lib.rs