pub fn block_on<F: Future>(future: F) -> F::OutputExpand description
Runs the provided future, blocking the current thread until the future completes.
For more information, see the documentation for
tokio::runtime::Runtime::block_on.
pub fn block_on<F: Future>(future: F) -> F::OutputRuns the provided future, blocking the current thread until the future completes.
For more information, see the documentation for
tokio::runtime::Runtime::block_on.