bevy_utils::futures

Function check_ready

Source
pub fn check_ready<F: Future + Unpin>(future: &mut F) -> Option<F::Output>
Expand description

Polls a future once, and returns the output if ready or returns None if it wasn’t ready yet.