It’s important to note that setTimeout(…) doesn’t automatically put your callback on the event loop queue. It sets up a timer. When the timer expires, the environment places your callback into the event loop, so that some future tick will pick it up and execute it.
How JavaScript works: Event loop and the rise of Async programming + 5 ways to better coding with…
Alexander Zlatkov
14.2K25

Is there a difference between “put your callback on the event loop queue” and “places your callback into the event loop?” I guess I’m asking if the event loop queue and the event loop are the same thing.

Like what you read? Give Kent Brewster a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.