Skip to main content
availableParallelism - node__os.d.ts - Node documentation
function availableParallelism

Usage in Deno

```typescript import { availableParallelism } from "node:node__os.d.ts"; ```
availableParallelism(): number
Returns an estimate of the default amount of parallelism a program should use. Always returns a value greater than zero. This function is a small wrapper about libuv's [`uv_available_parallelism()`](https://docs.libuv.org/en/v1.x/misc.html#c.uv_available_parallelism).

Return Type

number