Esri interview question

Can you explain the event loop?