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.