Skip to main content

blocking

Function blocking 

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

Run blocking filesystem work off the async executor.