foundry_common

Function block_on_handle

Source
pub fn block_on_handle<F: Future>(handle: &Handle, future: F) -> F::Output
Expand description

Block on a future using the current tokio runtime on the current thread with the given handle.