Question · JavaScript and TypeScript course · Module 4: Asynchronous JavaScript

Worker Threads in Node.js

What are Worker Threads used for in Node.js?

Answer options

  • For automatically scaling the application
  • For creating new Node.js processes
  • For handling HTTP requests
  • For running computationally heavy tasks in separate threads without blocking the Event Loop

You can check the correct answer by solving this task in the CodeWorlds game.