Function block_on

Source
pub fn block_on<F: Future>(future: F) -> F::Output
Expand description

Run a future to completion on the current thread.