add glossary/Event-loop

This commit is contained in:
Stefan Feješ
2018-07-18 11:25:23 +02:00
parent eebb9be153
commit cdf50b35ca

4
glossary/Event-loop.md Normal file
View File

@ -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.