Node.js · Class
Worker
Worker runs JavaScript in an independent thread. A parent thread can send messages to it and receive results.
Last updated
- Since
- v10.5.0
Syntax
new Worker(filename, options?) : WorkerIn-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
worker_threads.isMainThreadworker_threads.parentPortworker_threads.workerDataworker.postMessageworker.terminateMessageChannelMessagePortworker.resourceLimits