availableParallelism - Node documentation
function availableParallelism

Usage in Deno

import { availableParallelism } from "node:os";
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().

Return Type

number