Instead of event queue, I think it should be event loop. The event loop constantly checks whether or not the call stack is empty