Function pal_async::local::block_with_io

source ยท
pub fn block_with_io<F, Fut, R>(f: F) -> R
where F: FnOnce(LocalDriver) -> Fut, Fut: Future<Output = R>,
Expand description

Polls a future that needs to issue IO until it completes.