To avoid blocking the Event Loop with CPU-bound tasks, developers can offload such tasks to ________.

  • Worker Threads
  • Callbacks
  • Promises
  • Timers
To avoid blocking the Event Loop with CPU-bound tasks, Node.js developers can offload such tasks to "Worker Threads." This allows for concurrent execution of tasks, ensuring that the Event Loop remains responsive for handling other I/O operations and events.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *