Function bevy::utils::futures::check_ready

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

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