Skip to content

Commit 2c315d2

Browse files
authored
doc: fix AsyncLocalStorage example response changes after node v18
PR-URL: #57969 Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
1 parent 555aeb3 commit 2c315d2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/api/async_context.md

+2-2
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)