pub fn block_on<T: 'static>(future: impl Future<Output = T> + 'static) -> T
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.