1
2
3
4
5
6
7
8
9
//! Pause macro.

/// Pause the thread for the given number of milliseconds.
#[macro_export]
macro_rules! pause {
    ($val:expr) => {
        std::thread::sleep(std::time::Duration::from_millis($val));
    };
}