Crate bevy_tokio_tasks
source ·Structs§
- The context arguments which are available to main thread callbacks requested using
run_on_main_thread
. - The context arguments which are available to background tasks spawned onto the
TokioTasksRuntime
. - The Bevy
Plugin
which sets up theTokioTasksRuntime
Bevy resource and registers thetick_runtime_update
exclusive system.
Functions§
- The Bevy exclusive system which executes the main thread callbacks that background tasks requested using
run_on_main_thread
. You can control which [CoreStage
] this system executes in by specifying a customtick_stage
value.