block_on

Function block_on 

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

Blocks the current thread until a given future is ready.