Last Sync: 2022-07-20 19:00:05
This commit is contained in:
parent
15a3f410be
commit
61989d4a87
3 changed files with 7 additions and 5 deletions
|
@ -73,7 +73,4 @@ 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.
|
||||
|
||||
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.
|
||||
|
||||
**this is bold**
|
||||
_this is italic_
|
||||
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.
|
|
@ -6,6 +6,8 @@ tags:
|
|||
- node-modules
|
||||
---
|
||||
|
||||
# `http` module
|
||||
|
||||
The HTTP Module allows us to create a web server that listens for HTTP requests on a given port. It is therefore perfect for creating backends for client-side JavaScript.
|
||||
|
||||
## Creating a server
|
||||
|
|
|
@ -3,9 +3,12 @@ h1, h2, h3, h4, h5, h6, p {
|
|||
}
|
||||
|
||||
pre, code {
|
||||
font-family: 'JetBrains Mono';
|
||||
font-family: 'JetBrains Mono' !important;
|
||||
}
|
||||
|
||||
code, code {
|
||||
font-family: 'Jetbrains mono';
|
||||
}
|
||||
/*
|
||||
h1 {
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue