Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/poolifier/src/mod.ts>availableParallelism

Fast and small web worker pool
Latest
variable availableParallelism
import { availableParallelism } from "https://deno.land/x/poolifier@v0.3.14/src/mod.ts";

Returns safe host OS optimized estimate of the default amount of parallelism a pool should use. Always returns a value greater than zero.

type

() => number