Function windows_async::block_on
source · [−]pub fn block_on<T>(f: impl Future<Output = T>) -> T
Expand description
Run a future to completion on the current thread.
This function will run message-loop, until the given future has completed.