Expand description
Utilities for tracking time
Structs§
- Delay
- Future returned by delay_ticks
Functions§
- delay_
ticks - Sleeps for
dur
game ticks. - delay_
until - Sleep until screeps::game::time() >=
when
- yield_
now - Yields execution back to the async runtime, but doesn’t necessarily wait until next tick to continue execution.
- yield_
tick - Delay execution until the next tick