pub fn wait_until<F>( condition_name: &str, timeout_ms: u64, poll_ms: u64, check: F, ) -> Result<WaitOutcome, CliError>where F: FnMut() -> Result<bool, CliError>,