pub fn sleep(duration: Duration)
Suspends the current thread until at least duration has elapsed.
duration
Simulation advances to the earliest timer only when every application task is blocked; it never sleeps an OS thread.