Browse Source

doc: fixes a typo in the async_hooks documentation

> Generally it will correspond the name of the resource's constructor.
should read "Generally, it will correspond to the name..."

PR-URL: https://github.com/nodejs/node/pull/13666
Fixes: https://github.com/nodejs/node/issues/13663
Reviewed-By: Refael Ackermann <refack@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
v6
Chris Young 8 years ago
committed by Tobias Nießen
parent
commit
386f53f31d
  1. 4
      doc/api/async_hooks.md

4
doc/api/async_hooks.md

@ -192,8 +192,8 @@ Every new resource is assigned a unique ID.
###### `type`
The `type` is a string that represents the type of resource that caused
`init` to be called. Generally it will correspond the name of the resource's
constructor.
`init` to be called. Generally, it will correspond to the name of the
resource's constructor.
```
FSEVENTWRAP, FSREQWRAP, GETADDRINFOREQWRAP, GETNAMEINFOREQWRAP, HTTPPARSER,

Loading…
Cancel
Save