pub fn block_on<F>(future: F) -> F::Output
where
F: std::future::Future,
{
let runtime = tokio::runtime::Builder::new_multi_thread()
.enable_all()
.build()
.unwrap_or_else(|_| panic!("MADS failed to construct the Tokio runtime"));
runtime.block_on(future)
}