spawn_blocking

Function spawn_blocking 

Source
pub async fn spawn_blocking<T: Send + 'static>(
    f: impl FnOnce() -> T + Send + 'static,
) -> T