availableParallelism

abstract fun availableParallelism(): Int

Method: os.availableParallelism()

Returns the number of logical CPUs available to the Node.js instance.

Return

The number of logical CPUs available to the Node.js instance.