Function awak::blocking::block_on

source ·
pub fn block_on<T>(future: impl Future<Output = T>) -> T
Expand description

Runs a future to completion on the current thread.