pub async fn spawn_local<'pool, F, R>(func: F) -> RExpand description
Queue a new command for execution on the global threadpool. The future of this function will block the current thread if it is not fully awaited and driven to completion.
If no global threadpool has been created, then this function runs the provided closure immediately, without passing it to a blocking threadpool.