Function bevy::tasks::tick_global_task_pools_on_main_thread

pub fn tick_global_task_pools_on_main_thread()
Available on non-WebAssembly only.
Expand description

A function used by bevy_core to tick the global tasks pools on the main thread. This will run a maximum of 100 local tasks per executor per call to this function.

ยงWarning

This function must be called on the main thread, or the task pools will not be updated appropriately.