fn sleep(&self) {
        let timeout = self.timeout;
        if timeout != 0 {
            let wait_timeout = std::time::Duration::from_millis(timeout);
            info!("script timeout specified, waiting {} ms", timeout);
            std::thread::sleep(wait_timeout);
        }
    }
// just sleep main thread with specified timeout
just sleep main thread with specified timeout
just sleep main thread with specified timeout
fn sleep(&self) {
        let timeout = self.timeout;
        if timeout != 0 {
            let wait_timeout = std::time::Duration::from_millis(timeout);
            info!("script timeout specified, waiting {} ms", timeout);
            std::thread::sleep(wait_timeout);
        }
    }
fn sleep ( & self ) { let timeout = self . timeout ; if timeout != 0 { let wait_timeout = std :: time :: Duration :: from_millis ( timeout ) ; info ! ( " " timeout ) ; std :: thread :: sleep ( wait_timeout ) ; } }
just sleep main thread with specified timeout
just sleep main thread with specified timeout
&self
&self