mirror of
https://github.com/denoland/deno.git
synced 2025-08-31 07:47:46 +00:00
feat(runtime): implement navigator.hardwareConcurrency (#11448)
This commit implements "navigator.hardwareConcurrency" API, which supersedes "Deno.systemCpuInfo()" API (which was removed in this commit).
This commit is contained in:
parent
eece46f0d8
commit
2b13bb6945
15 changed files with 46 additions and 66 deletions
|
@ -118,7 +118,6 @@
|
|||
hostname: __bootstrap.os.hostname,
|
||||
osRelease: __bootstrap.os.osRelease,
|
||||
systemMemoryInfo: __bootstrap.os.systemMemoryInfo,
|
||||
systemCpuInfo: __bootstrap.os.systemCpuInfo,
|
||||
applySourceMap: __bootstrap.errorStack.opApplySourceMap,
|
||||
formatDiagnostics: __bootstrap.errorStack.opFormatDiagnostics,
|
||||
sleepSync: __bootstrap.timers.sleepSync,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue