pub fn spawn_blocking<F, T>(task: F) -> JoinHandle<T>
where
    F: FnOnce() -> T + Send + 'static,
    T: Send + 'static,
{
    get_global_executor().spawn_blocking(task)
}
/// Runs the provided closure on the global executor, and when possible, it does it in a way that doesn't block concurrent tasks.
Runs the provided closure on the global executor, and when possible, it does it in a way that doesn't block concurrent tasks.
Runs the provided closure on the global executor and when possible it does it in a way that doesn ' t block concurrent tasks .
pub fn spawn_blocking<F, T>(task: F) -> JoinHandle<T>
where
    F: FnOnce() -> T + Send + 'static,
    T: Send + 'static,
{
    get_global_executor().spawn_blocking(task)
}
pub fn spawn_blocking < F , T > ( task : F ) -> JoinHandle < T > where F : FnOnce ( ) -> T + Send + ' static , T : Send + ' static , { get_global_executor ( ) . spawn_blocking ( task ) }
Runs the provided closure on the global executor, and when possible, it does it in a way that doesn't block concurrent tasks.
Runs the provided closure on the global executor and when possible it does it in a way that doesn ' t block concurrent tasks .
task
F