Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 86272ca

Browse filesBrowse files
marsonyaBethGriggs
authored andcommitted
doc: fix async_hooks example in api docs
PR-URL: #41609 Reviewed-By: Qingyu Deng <i@ayase-lab.com> Reviewed-By: Mestery <mestery@protonmail.com>
1 parent 506a0dd commit 86272ca
Copy full SHA for 86272ca

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Collapse file

‎doc/api/async_hooks.md‎

Copy file name to clipboardExpand all lines: doc/api/async_hooks.md
+1-1Lines changed: 1 addition & 1 deletion
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -816,7 +816,7 @@ Promise.resolve(1729).then(() => {
816816
```
817817
818818
```cjs
819-
const { createHook, exectionAsyncId, triggerAsyncId } = require('async_hooks');
819+
const { createHook, executionAsyncId, triggerAsyncId } = require('async_hooks');
820820

821821
createHook({ init() {} }).enable(); // forces PromiseHooks to be enabled.
822822
Promise.resolve(1729).then(() => {

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.