We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b72ea5a commit 246e2f0Copy full SHA for 246e2f0
README.md
@@ -42,7 +42,7 @@ console.log(contextA.get('xxx')); // undefined
42
43
### Complex
44
45
-#### With [`async_hooks`](https://nodejs.org/api/async_hooks.html)
+#### By using [`async_hooks`](https://nodejs.org/api/async_hooks.html)
46
47
```ts
48
const context = createSimpleContext();
@@ -76,7 +76,7 @@ const res = await Promise.all([
76
console.log(res); // ['foo=tata', 'foo=bar', 'foo=toto']
77
```
78
79
-#### Without [`async_hooks`](https://nodejs.org/api/async_hooks.html)
+#### By using multiple contexts
80
81
Here, I define multiple contexts in the same file, like that:
82
0 commit comments