Concept Flow - Event loop phases and timer execution
Start Event Loop
Timers Phase
Pending Callbacks Phase
Idle, Prepare Phase
Poll Phase
Check Phase
Close Callbacks Phase
Repeat Event Loop
The Node.js event loop runs in phases, each handling specific callbacks like timers, I/O, and close events, cycling continuously.