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