Browse Source

doc: update async_hooks providers list

PR-URL: https://github.com/nodejs/node/pull/13561
Ref: https://github.com/nodejs/node/pull/13452
Reviewed-By: Refael Ackermann <refack@gmail.com>
Reviewed-By: Trevor Norris <trev.norris@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
v6
Anna Henningsen 8 years ago
committed by James M Snell
parent
commit
0ab461440e
  1. 6
      doc/api/async_hooks.md

6
doc/api/async_hooks.md

@ -192,15 +192,15 @@ Every new resource is assigned a unique ID.
###### `type` ###### `type`
The `type` is a string that represents the type of resource that caused 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. `init` to be called. Generally it will correspond the name of the resource's
The resource types provided by the built-in Node.js modules are: constructor.
``` ```
FSEVENTWRAP, FSREQWRAP, GETADDRINFOREQWRAP, GETNAMEINFOREQWRAP, HTTPPARSER, FSEVENTWRAP, FSREQWRAP, GETADDRINFOREQWRAP, GETNAMEINFOREQWRAP, HTTPPARSER,
JSSTREAM, PIPECONNECTWRAP, PIPEWRAP, PROCESSWRAP, QUERYWRAP, SHUTDOWNWRAP, JSSTREAM, PIPECONNECTWRAP, PIPEWRAP, PROCESSWRAP, QUERYWRAP, SHUTDOWNWRAP,
SIGNALWRAP, STATWATCHER, TCPCONNECTWRAP, TCPWRAP, TIMERWRAP, TTYWRAP, SIGNALWRAP, STATWATCHER, TCPCONNECTWRAP, TCPWRAP, TIMERWRAP, TTYWRAP,
UDPSENDWRAP, UDPWRAP, WRITEWRAP, ZLIB, SSLCONNECTION, PBKDF2REQUEST, UDPSENDWRAP, UDPWRAP, WRITEWRAP, ZLIB, SSLCONNECTION, PBKDF2REQUEST,
RANDOMBYTESREQUEST, TLSWRAP RANDOMBYTESREQUEST, TLSWRAP, Timeout, Immediate, TickObject
``` ```
There is also the `PROMISE` resource type, which is used to track `Promise` There is also the `PROMISE` resource type, which is used to track `Promise`

Loading…
Cancel
Save