[][src]Function async_spawner::block_on

pub fn block_on<F, T>(future: F) -> T where
    F: Future<Output = T> + Send + 'static,
    T: Send + 'static, 

Blocks until the future has finished.