Function slings::blocking::block_on[][src]

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

Runs a future to completion on the current thread.