block_on

Function block_on 

Source
pub fn block_on<T: 'static>(future: impl Future<Output = T>) -> T
Available on crate feature async only.
Expand description

Run the specified future to completion, returning the result.

This uses waitable-set.wait to poll for progress on any in-progress calls to async-lowered imports as necessary.