Crate bevy_wasm_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
WASMTasksRuntime
. - The Bevy
Plugin
which sets up theWASMTasksRuntime
Bevy resource and registers thetick_runtime_update
exclusive system. - The Bevy
Resource
which allows for spawning new background tasks.
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.