pub fn block_on<F: Future>(future: F) -> F::Output
Expand 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::Output
Runs the provided future, blocking the current thread until the future completes.
For more information, see the documentation for
tokio::runtime::Runtime::block_on
.