Crate bevy_wasm_tasks

Source

Structs§

JoinHandle
MainThreadContext
The context arguments which are available to main thread callbacks requested using run_on_main_thread.
TaskContext
The context arguments which are available to background tasks spawned onto the WASMTasksRuntime.
WASMTasksPlugin
The Bevy Plugin which sets up the WASMTasksRuntime Bevy resource and registers the tick_runtime_update exclusive system.
WASMTasksRuntime
The Bevy Resource which 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 [CoreStage] this system executes in by specifying a custom tick_stage value.