Does browser really use micro task and macro task queue in event loop?

33 Views Asked by At

Edited the description, because I have read many articles introduced micro macro tasks model before so I thought it existed.

Here's original question I've been reading through the HTML Standard, particularly the section on event loops, and I noticed that the documentation did not explicitly mentions "macro tasks." Instead, it describes that an event loop has one or more task queues, where a task queue is a set of tasks. So there could be multiple task queues.

Moreover, it states that the microtask queue is distinct and not considered a task queue. What does this mean?

0

There are 0 best solutions below