Function cros_asyncv2::block_on
source · [−]Expand description
Run a future to completion on the current thread.
This method will block the current thread until f
completes. Useful when you need to call an
async fn from a non-async context.