Skip to main content

poll

Function poll 

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

Polls a future and returns its result if it is ready.