DEV Community

Discussion on: Javascript Event Loop for dummies 🤡

Collapse
 
papidiagne30 profile image
Papa Abdoulaye Diagne

Hey! Thanks for asking 😊.
The WebAPI resolves the function, and pushes its callback into the queue. The callbacks in that queue are not called until the call stack is empty, then they're pushed to it in order of arrival.