devimint::util

Function poll_simple

Source
pub async fn poll_simple<Fut, R>(name: &str, f: impl Fn() -> Fut) -> Result<R>
where Fut: Future<Output = Result<R, Error>>,