Task Queue or Callback Queue Javascript
- The Task queue or Callback queue is where callbacks from async operations, like
setTimeoutor other callback based async operations, are placed when they are ready to be executed. - The Event Loop monitors the call stack, and when the stack is empty, it moves tasks from the task queue into the stack for execution.
- For promises based async operations Microtask Queue Javascript is used.
