pub async fn spawn<F, R>(func: F) -> RExpand description
Queue a new command for execution on the global threadpool.
If no global threadpool has been created, then this function runs the provided closure immediately, without passing it to a blocking threadpool.