Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
doc: fix typo in async_hooks.md
PR-URL: #40187
Reviewed-By: Qingyu Deng <i@ayase-lab.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Zijian Liu <lxxyxzj@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
  • Loading branch information
xuchaobei authored and targos committed Oct 4, 2021
1 parent 4d46bde commit 59db829
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/api/async_hooks.md
Expand Up @@ -356,7 +356,7 @@ created, while `triggerAsyncId` shows *why* a resource was created.
The following is a simple demonstration of `triggerAsyncId`:

```mjs
import { createHook, executionASyncId } from 'async_hooks';
import { createHook, executionAsyncId } from 'async_hooks';
import { stdout } from 'process';
import net from 'net';

Expand Down

0 comments on commit 59db829

Please sign in to comment.