[][src]Function af_lib::prelude::af_core::thread::block_on

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

Blocks the current thread until a given future is ready.