Skip to main content

blocking

Function blocking 

Source
async fn blocking<T, F>(f: F) -> Result<T, String>
where T: Send + 'static, F: FnOnce() -> T + Send + 'static,
Expand description

Run blocking filesystem work off the async runtime.