[][src]Function spin_on::spin_on

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

Continuously poll a future until it returns Poll::Ready. This is not normally how an executor should work, because it runs the CPU at 100%.