Function zappot::util::tokio_rayon::spawn_compute

source ·
pub fn spawn_compute<F, R>(func: F) -> AsyncRayonHandle<R> 
where F: FnOnce() -> R + Send + 'static, R: Send + 'static,
Expand description

Spawn a compute intensive function into the global rayon threadpool.