pub fn block_on<T, F>(future: F) -> <F as Future>::OutputAvailable on crate feature
executor only.Expand description
Blocks current thread and runs given future until completion.
All task will be cancelled after return.
Uses spawn to spawn assistant tasks.