[][src]Function direct_executor::run_spinning

pub fn run_spinning<F>(future: F) -> F::Output where
    F: Future

Runs the provided future by spin-looping until polling succeeds.

This is equivalent to run(future, || core::sync::atomic::spin_loop_hint()).