run_until_no_events

Function run_until_no_events 

Source
pub async fn run_until_no_events(
    driver: &mut Driver<'_>,
    quiet_dur: Duration,
    timeout: Duration,
) -> Result<bool>
Expand description

Runs cluster until there is a quiet_dur period of no events, returning Ok(true) in this case. If there is no such period for timeout period of time, then returns Ok(false)