pub fn run_until_stalled<F: Future>(future: Pin<&mut F>) -> Poll<F::Output>
Expand description
Run a future to completion on the current thread.
This function will block the caller until the given future has completed.
Use a LocalPool
if you need finer-grained control over spawned tasks.