Skip to main content

Worker thread

A Node.js worker thread executes JavaScript in parallel with the main thread and has its own event loop.

For example, an application can send image-processing work to a worker and keep the main event loop available for network requests.

Share: