Skip to content

Commit 36b0a29

Browse files
ntedgiRafaelGSS
authored andcommitted
doc: fix AsyncLocalStorage example response changes after node v18
PR-URL: #57969 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
1 parent cbd2abe commit 36b0a29

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/api/async_context.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,8 @@ http.get('http://localhost:8080');
7575
http.get('http://localhost:8080');
7676
// Prints:
7777
// 0: start
78-
// 1: start
7978
// 0: finish
79+
// 1: start
8080
// 1: finish
8181
```
8282

@@ -107,8 +107,8 @@ http.get('http://localhost:8080');
107107
http.get('http://localhost:8080');
108108
// Prints:
109109
// 0: start
110-
// 1: start
111110
// 0: finish
111+
// 1: start
112112
// 1: finish
113113
```
114114

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy