From cdf50b35ca811ab14129bd38864e97bc902b73f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20Feje=C5=A1?= Date: Wed, 18 Jul 2018 11:25:23 +0200 Subject: [PATCH] add glossary/Event-loop --- glossary/Event-loop.md | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 glossary/Event-loop.md diff --git a/glossary/Event-loop.md b/glossary/Event-loop.md new file mode 100644 index 000000000..107f25a4a --- /dev/null +++ b/glossary/Event-loop.md @@ -0,0 +1,4 @@ +### Event loop + +The event loop handles all asynchronous callbacks. Callbacks are queued in a loop, while other code runs, and will run one by one when the response for each one has been received. +The event loop allows JavaScript to perform non-blocking I/O operations, despite the fact that JavaScript is single-threaded.