pub fn run() -> Result<(), RuntimeError>
Expand description
Run the task executor for one tick
This is just shorthand for:
screeps_async::with_runtime(|runtime| {
runtime.run()
});
ยงPanics
This function panics if the current runtime is not set