tokio::future::block_on

Function block_on

Source
pub(crate) fn block_on<F: Future>(f: F) -> F::Output