pub async fn wait_for_finish(&mut self) -> Result<(), anyhow::Error> {
        if let Some(ref mut f) = self.f.take().as_mut() {
            return Ok(f.await?);
        }
        Ok(())
    }
/// This will wait for all the logs and events to be collected
This will wait for all the logs and events to be collected
This will wait for all the logs and events to be collected
pub async fn wait_for_finish(&mut self) -> Result<(), anyhow::Error> {
        if let Some(ref mut f) = self.f.take().as_mut() {
            return Ok(f.await?);
        }
        Ok(())
    }
pub async fn wait_for_finish ( & mut self ) -> Result < ( ) , anyhow :: Error > { if let Some ( ref mut f ) = self . f . take ( ) . as_mut ( ) { return Ok ( f . await ? ) ; } Ok ( ( ) ) }
This will wait for all the logs and events to be collected
This will wait for all the logs and events to be collected
&mut self
&mut self