Liking cljdoc? Tell your friends :D
ClojureScript only.

web.workers.NavigatorConcurrentHardware

The NavigatorConcurrentHardware mixin adds to the web.performance.Navigator features which allow Web content to determine how many logical the user has available, in order to let content and Web apps their operations to best take advantage of the user's CPU.

The NavigatorConcurrentHardware mixin adds to the `web.performance.Navigator`
features which allow Web content to determine how many logical
the user has available, in order to let content and Web apps
their operations to best take advantage of the user's CPU.
raw docstring

hardware-concurrencycljs

(hardware-concurrency this)

Property.

[Read Only]

The navigator.hardwareConcurrency read-only property returns number of logical processors available to run threads on the computer.

logicalProcessors = window.navigator.hardwareConcurrency

See also: https://developer.mozilla.org/en-US/docs/Web/API/NavigatorConcurrentHardware/hardwareConcurrency

Property.

[Read Only]

The navigator.hardwareConcurrency read-only property returns
number of logical processors available to run threads on the
computer.

`logicalProcessors = window.navigator.hardwareConcurrency`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/NavigatorConcurrentHardware/hardwareConcurrency`
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close