pub fn spawn_compute<F, T>(func: F) -> TokioRayonJoinHandle<T> ⓘ
Expand description
Spawns a compute intensive task on the rayon
global threadpool and
returns a future that can be awaited without blocking the async task.
pub fn spawn_compute<F, T>(func: F) -> TokioRayonJoinHandle<T> ⓘ
Spawns a compute intensive task on the rayon
global threadpool and
returns a future that can be awaited without blocking the async task.