[][src]Function suspend::block_on

pub fn block_on<F>(fut: F) -> F::Output where
    F: Future + Send

A convenience method to evaluate a Future, blocking the current thread until it is resolved.