Function bevy_defer::world

source ·
pub fn world() -> AsyncWorld
👎Deprecated: Use AsyncWorld directly, or AsyncWorld::new() that mimics this function’s behavior.
Expand description

Obtain the AsyncWorld of the currently running bevy_defer executor.

§Panics

If used outside a bevy_defer future.