pub fn sleep_in_pause(millis: u64) -> impl Future<Output = ()>Expand description
Pauses tokio, sleeps for millis milliseconds, and then resumes tokio. Allows testing of actions that occur
after some time, such as heartbeats, without actually having to wait for that amount of time.