Skip to main content

availableParallelism

function availableParallelism
Jump to headingavailableParallelism(): 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 Jump to heading

number
Back to top