pub fn block_on_local<F>( runtime: &LocalRuntime, future: F, ) -> <F as Future>::Outputwhere F: Future + 'static, <F as Future>::Output: 'static,
dial9
tokio
block_on for a [tokio::runtime::LocalRuntime]: runs future as a traced task so its polls are recorded.
block_on
tokio::runtime::LocalRuntime
future
Resumes the future’s panic on the calling thread.