Function foyer_common::asyncify::asyncify

source ยท
pub async fn asyncify<F, T>(f: F) -> T
where F: FnOnce() -> T + Send + 'static, T: Send + 'static,
Expand description

Convert the block call to async call.