Update README.md

This commit is contained in:
xfarrow 2024-08-19 11:43:27 +02:00 committed by GitHub
parent 62b993e2c1
commit 2b9f03f5ec
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -39,7 +39,7 @@ console.log('I am in the stack');
What is happening here? `setTimeout` is a JavaScript API which will be taken care What is happening here? `setTimeout` is a JavaScript API which will be taken care
of by the `libuv` library which will be responsible for checking when 1000ms have passed. of by the `libuv` library which will be responsible for checking when 1000ms have passed.
**Concurrently** to the `libuv` library doing what it has to do, the engine executes **Concurrently**, the engine executes
`console.log('I am in the stack');`. `console.log('I am in the stack');`.
When 1000ms have elapsed, the callback function associated with the timer (console.log) When 1000ms have elapsed, the callback function associated with the timer (console.log)
gets enqueued in the Queue. gets enqueued in the Queue.