Function screeps_async::time::delay_ticks
source · pub fn delay_ticks(dur: u32) -> Delay ⓘ
Expand description
Sleeps for dur
game ticks.
If dur
is zero, this function completes immediately and does not yield to the scheduler.
If you wish to yield execution back to the scheduler, please use yield_now instead