Skip to content

Commit 9b74dde

Browse files
committed
doc: update async_hooks providers list
PR-URL: #13561 Ref: #13452 Reviewed-By: Refael Ackermann <[email protected]> Reviewed-By: Trevor Norris <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent 80fa13b commit 9b74dde

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

doc/api/async_hooks.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -192,15 +192,15 @@ Every new resource is assigned a unique ID.
192192
###### `type`
193193

194194
The `type` is a string that represents the type of resource that caused
195-
`init` to call. Generally it will be the name of the resource's constructor.
196-
The resource types provided by the built-in Node.js modules are:
195+
`init` to be called. Generally it will correspond the name of the resource's
196+
constructor.
197197

198198
```
199199
FSEVENTWRAP, FSREQWRAP, GETADDRINFOREQWRAP, GETNAMEINFOREQWRAP, HTTPPARSER,
200200
JSSTREAM, PIPECONNECTWRAP, PIPEWRAP, PROCESSWRAP, QUERYWRAP, SHUTDOWNWRAP,
201201
SIGNALWRAP, STATWATCHER, TCPCONNECTWRAP, TCPWRAP, TIMERWRAP, TTYWRAP,
202202
UDPSENDWRAP, UDPWRAP, WRITEWRAP, ZLIB, SSLCONNECTION, PBKDF2REQUEST,
203-
RANDOMBYTESREQUEST, TLSWRAP
203+
RANDOMBYTESREQUEST, TLSWRAP, Timeout, Immediate, TickObject
204204
```
205205

206206
Users are be able to define their own `type` when using the public embedder API.

0 commit comments

Comments
 (0)