DefinitelyTyped/types/react-adaptive-hooks/hardware-concurrency.d.ts
2020-03-31 15:57:31 -07:00

5 lines
113 B
TypeScript

export function useHardwareConcurrency(): {
unsupported: boolean;
numberOfLogicalProcessors?: number;
};