Function screeps_async::time::delay_until
source · pub fn delay_until(when: u32) -> Delay ⓘ
Expand description
Sleep until screeps::game::time() >= when
The Future returned by this function completes immediately if screeps::game::time() is already
>= when
and does not yield to the scheduler.