Celloscope interview question

How does the event loop work?