Skip to main content

rayon_spawn

Function rayon_spawn 

Source
fn rayon_spawn<F, R>(
    thread_pool: &ThreadPool,
    func: F,
) -> impl Future<Output = R>
where F: FnOnce() -> R + Send + 'static, R: Send + 'static + Debug,