Is the micro task task queue maintained by event-triggered threads or by JS engine threads?

EventLoop mechanism:
macro task this macro task queue is maintained by event-triggered threads.
ask God to inform micro task whether this micro-task queue is maintained by event-triggered threads or by JS engine threads ?

Dec.03,2021

The

specification requires that each event-loop should have a microtask , but the specific implementation depends on the platform.
for example, the specification says that every event-loop checks microtask after each round macrotask , but node is not the case. It has its own event-loop implementation
in chrome . < H2 > reference article < / H2 >


landlord! Do you have an answer? Which thread maintains the task queue?

Menu