Phases of Event Loop Execution