Function loom::future::block_on

source ·
pub fn block_on<F>(f: F) -> F::Output
where F: Future,
Available on crate feature futures only.
Expand description

Block the current thread, driving f to completion.