Update Event-loop.md

This commit is contained in:
Angelos Chalaris
2018-07-18 19:50:11 +03:00
committed by GitHub
parent abad97c261
commit 103864d0b9

View File

@ -1,4 +1,5 @@
### 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 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.