Function bevy_defer::spawn_and_forget
source · pub fn spawn_and_forget<T: Send + 'static>(
fut: impl Future<Output = T> + Send + 'static
)
Expand description
Spawn a bevy_defer
compatible future.
The spawned future will not be dropped until finished.