gatsby-core-utils
Version:
A collection of gatsby utils used in different gatsby packages
8 lines (7 loc) • 311 B
TypeScript
/**
* Calculate CPU core count
*
* @param ignoreEnvVar Ignore the 'GATSBY_CPU_COUNT' env var to calculate the requested type of CPU cores
* @return Count of the requested type of CPU cores. Defaults to number of physical cores or 1
*/
export declare const cpuCoreCount: (ignoreEnvVar?: boolean) => number;