Skip to main content

run_blocking

Function run_blocking 

Source
pub async fn run_blocking<F>(f: F) -> ToolResult
where F: FnOnce() -> ToolResult + Send + 'static,
Expand description

Run blocking filesystem work off the async runtime.