Menu
They do not help much with I/O-intensive work. Workers (threads) are useful for performing CPU-intensive JavaScript operations. To access it: const worker = require( 'worker_threads') The worker_threads module enables the use of threads that execute JavaScript Launching worker threads from preload scripts.Considerations when cloning objects with prototypes, classes, and accessors.Considerations when transferring TypedArrays and Buffers.Class: BroadcastChannel extends EventTarget.worker.moveMessagePortToContext(port, contextifiedSandbox).
0 Comments
Leave a Reply. |