foundry_cli::utils

Function block_on

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

Runs the future in a new [tokio::runtime::Runtime]