[−][src]Function web_worker::new_thread_pool
pub fn new_thread_pool(concurrency: usize, pool: &WorkerPool) -> ThreadPool
Creates a new rayon::ThreadPool
from the provided WorkerPool (created in the javascript code)
and the concurrency value, which indicates the number of threads to use.