File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
- # Asynchronous Context Tracking
1
+ # Asynchronous context tracking
2
2
3
3
<!-- introduced_in=v16.4.0-->
4
4
@@ -18,11 +18,11 @@ The `AsyncLocalStorage` and `AsyncResource` classes are part of the
18
18
` async_hooks ` module:
19
19
20
20
``` mjs
21
- import async_hooks from ' async_hooks' ;
21
+ import { AsyncLocalStorage , AsyncResource } from ' async_hooks' ;
22
22
```
23
23
24
24
``` cjs
25
- const async_hooks = require (' async_hooks' );
25
+ const { AsyncLocalStorage , AsyncResource } = require (' async_hooks' );
26
26
```
27
27
28
28
## Class: ` AsyncLocalStorage `
Original file line number Diff line number Diff line change 11
11
<hr class =" line " />
12
12
13
13
* [ Assertion testing] ( assert.md )
14
- * [ Async \_ context ] ( async\_ context.md )
14
+ * [ Asynchronous context tracking ] ( async\_ context.md )
15
15
* [ Async hooks] ( async\_ hooks.md )
16
16
* [ Buffer] ( buffer.md )
17
17
* [ C++ addons] ( addons.md )
You can’t perform that action at this time.
0 commit comments