Files
javascript-tutorials/async-await/event-loop.txt
xfarrow 04e200e406 update
2024-07-04 12:13:47 +02:00

4 lines
289 B
Plaintext

JavaScript is single-threaded (but note that NodeJS is not entirely single-threaded, as it internally mantains a thread
pool), but it can still take advantage of asynchronous programming.
The Event Loop, which is a JavaScript construct that completes a new task while waiting for another.