Advanced
JavaScript
Q98 / 100
What is the Node.js Worker Threads module?
Correct! Well done.
Incorrect.
The correct answer is B) True OS threads in Node.js sharing ArrayBuffer via SharedArrayBuffer, enabling CPU-intensive work without blocking the event loop
B
Correct Answer
True OS threads in Node.js sharing ArrayBuffer via SharedArrayBuffer, enabling CPU-intensive work without blocking the event loop
Explanation
worker_threads allow JavaScript code to run in parallel threads sharing SharedArrayBuffer. Unlike child_process, Workers share memory, making them efficient for CPU-bound work.
Progress
98/100