Statements (25)
Predicate | Object |
---|---|
gptkbp:instanceOf |
Node.js module
|
gptkbp:allows |
running JavaScript in parallel threads
|
gptkbp:alternativeTo |
child_process module
|
gptkbp:canImport |
require('worker_threads')
|
gptkbp:category |
core module
|
gptkbp:compatibleWith |
Node.js versions before v10.5.0
|
gptkbp:documentation |
https://nodejs.org/api/worker_threads.html
|
gptkbp:enables |
offloading CPU-intensive tasks
communication between threads via message passing |
https://www.w3.org/2000/01/rdf-schema#label |
worker threads module
|
gptkbp:introducedIn |
Node.js v10.5.0
|
gptkbp:provides |
MessageChannel class
MessagePort class SHARE_ENV constant Worker class isMainThread property parentPort property workerData property |
gptkbp:stableSince |
Node.js v12.0.0
|
gptkbp:supports |
gptkb:SharedArrayBuffer
Atomics operations transferring ArrayBuffer between threads |
gptkbp:usedFor |
multithreading in Node.js
|
gptkbp:bfsParent |
gptkb:Node.js_APIs
|
gptkbp:bfsLayer |
7
|