foundry_common

Function block_on

Source
pub fn block_on<F: Future>(future: F) -> F::Output
Expand description

Block on a future using the current tokio runtime on the current thread.