Last Sync: 2022-07-17 09:00:13

This commit is contained in:
tactonbishop 2022-07-17 09:00:13 +01:00
parent a724ac5d8f
commit 6c57c77350

View file

@ -73,4 +73,5 @@ The phases are as follows:
The terms _event loop_ and _event queue_ are often used interchangeably in the literature but in fact they are distinct.
Test **bold**
The Event Loop is the Node runtime's method of execution, the queue is the stack of tasks that are lined up and executed by the loop. We can think of the queue as being the input and the loop as what acts on the input. The queue obviously emerges from the program we write but it is scheduled, organised and sequenced by the loop.