Proptiger interview question

Explain event loop