mirror of
https://github.com/xfarrow/javascript-tutorials.git
synced 2025-04-17 20:07:32 +02:00
Update README.md
This commit is contained in:
parent
62b993e2c1
commit
2b9f03f5ec
@ -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
|
||||
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');`.
|
||||
When 1000ms have elapsed, the callback function associated with the timer (console.log)
|
||||
gets enqueued in the Queue.
|
||||
|
Loading…
x
Reference in New Issue
Block a user