Pergunta de entrevista da empresa InfoBeans

What is event loop and how does it work?