Skip to main content

block_on_async

Function block_on_async 

Source
pub fn block_on_async<F, T>(f: F) -> T
where F: FnOnce() -> Pin<Box<dyn Future<Output = T> + Send>> + 'static + Send, T: Send + 'static,