When the call stack is busy, new requests get queued in the __________ for their turn to be processed.

  • Callback Queue
  • Microtask Queue
  • Event Loop
  • Task Queue
The correct option is Task Queue. When the call stack is occupied, new tasks are placed in the task queue to await their turn. The Event Loop manages the process of moving tasks from the task queue to the call stack. Understanding this mechanism is crucial for handling asynchronous operations effectively.
Add your answer
Loading...

Leave a comment

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