Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "os/num-cpus/docs/types/index.d"

Index

Variables

Variables

Const Export assignment NUM_CPUS

NUM_CPUS: number

Number of CPUs.

Notes

  • In browser environments, the number of CPUs is determined by querying the hardware concurrency API.
  • In Node.js environments, the number of CPUs is determined via the os module.