Word
event loop
Definition
compound. a system in a computer program that waits for things to happen, like a mouse click, and then runs the right code to handle them. It keeps the program running and responsive by checking for new tasks in a continuous circle.
compound. a programming construct that waits for and dispatches events or messages in a program. It functions by making a request to some internal or external event provider, which generally blocks until an event has arrived, and then calls the relevant event handler.
Examples
“The event loop handles user clicks while the page loads.”
“Because JavaScript runs on a single thread, the event loop is responsible for executing code, collecting events, and executing queued sub-tasks.”
“Efficiently managing the event loop is critical in asynchronous programming to ensure that long-running operations do not block the main execution thread and degrade the user experience.”
Examples
simple
“The event loop handles user clicks while the page loads.”
contextual
“Because JavaScript runs on a single thread, the event loop is responsible for executing code, collecting events, and executing queued sub-tasks.”
complex
“Efficiently managing the event loop is critical in asynchronous programming to ensure that long-running operations do not block the main execution thread and degrade the user experience.”
Usage
Commonly used in the context of web development, specifically regarding the JavaScript execution model.
Etymology
A compositional term formed from the noun event, denoting a discrete occurrence or signal, and the noun loop, referring to a sequence of instructions that repeats until a condition is met.
Etymology adapted from Wiktionary, available under CC BY-SA 4.0.
Domain
- Exam level
- CambridgeCambridgeCambridge English QualificationsThe exam suite from Cambridge University Press & Assessment, from A1 Movers up to C2 Proficiency. The benchmark names double as CEFR labels.C1 AdvancedIELTSIELTSInternational English Language Testing SystemThe 0–9 band test co-owned by the British Council, IDP, and Cambridge. Used for university entry, work, and migration.7.0–8.0TOEFL iBTTOEFL iBTTest of English as a Foreign Language, Internet-Based TestETS's academic English test, the standard route for US university admissions. Scored 0–120, with a 1–6 scale since 2026.1–6 scale: 5.0–5.595–113TOEICTOEICTest of English for International CommunicationETS's workplace English test, big in Japan and Korea. Listening & Reading scores 10–990 and tops out at C1.945–990EikenEikenTest in Practical English ProficiencyThe English proficiency test from the Eiken Foundation of Japan, widely taken by Japanese students. Grades run from 5 to 1, with Pre-1 and Pre-2 between them.Grade 1
- Level
- C1 · Advanced
- Updated
- アルファベット
- 読み方の一覧 →
QR code
englishreference.com/q/event-loop