Function tokio::runtime::current_thread::block_on_all
source · [−]Expand description
Run the provided future to completion using a runtime running on the current thread.
This first creates a new Runtime
, and calls Runtime::block_on
with the provided future,
which blocks the current thread until the provided future completes. It then calls
Runtime::run
to wait for any other spawned futures to resolve.