Skip to content

Commit

Permalink
doc: update async_hooks providers list
Browse files Browse the repository at this point in the history
PR-URL: #13561
Ref: #13452
Reviewed-By: Refael Ackermann <refack@gmail.com>
Reviewed-By: Trevor Norris <trev.norris@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
  • Loading branch information
addaleax committed Jun 21, 2017
1 parent 80fa13b commit 9b74dde
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions doc/api/async_hooks.md
Original file line number Diff line number Diff line change
Expand Up @@ -192,15 +192,15 @@ Every new resource is assigned a unique ID.
###### `type`

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

```
FSEVENTWRAP, FSREQWRAP, GETADDRINFOREQWRAP, GETNAMEINFOREQWRAP, HTTPPARSER,
JSSTREAM, PIPECONNECTWRAP, PIPEWRAP, PROCESSWRAP, QUERYWRAP, SHUTDOWNWRAP,
SIGNALWRAP, STATWATCHER, TCPCONNECTWRAP, TCPWRAP, TIMERWRAP, TTYWRAP,
UDPSENDWRAP, UDPWRAP, WRITEWRAP, ZLIB, SSLCONNECTION, PBKDF2REQUEST,
RANDOMBYTESREQUEST, TLSWRAP
RANDOMBYTESREQUEST, TLSWRAP, Timeout, Immediate, TickObject
```

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

0 comments on commit 9b74dde

Please sign in to comment.