Function thread_waker::block_on

source ·
pub fn block_on<F: Future>(fut: F) -> F::Output
Expand description

Await for future forever via thread token

Note that this is only viable for futures that doesn’t require IO runtime