Re-exports§
pub use tokio;
Structs§
- Main
Thread Context - The context arguments which are available to main thread callbacks requested using
run_on_main_thread. - Task
Context - The context arguments which are available to background tasks spawned onto the
TokioTasksRuntime. - Tokio
Tasks Plugin - The Bevy
Pluginwhich sets up theTokioTasksRuntimeBevy resource and registers thetick_runtime_updateexclusive system. - Tokio
Tasks Runtime - The Bevy
Resourcewhich stores the TokioRuntimeand allows for spawning new background tasks.
Functions§
- tick_
runtime_ update - The Bevy exclusive system which executes the main thread callbacks that background
tasks requested using
run_on_main_thread. You can control which Bevy schedule stage this system executes in by specifying a customschedule_labelvalue.