pub fn sleep<T: Bag>(config: &Config) -> impl FnMut(f64, f64, &mut T) -> f64
Closure for RT simulation on targets with std. It sleeps until the next state transition.
std