From 9b74dded0db0f3f43d7c120dbddf34e486df1b6a Mon Sep 17 00:00:00 2001 From: Anna Henningsen Date: Fri, 9 Jun 2017 00:02:47 +0200 Subject: [PATCH] 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 Reviewed-By: Trevor Norris Reviewed-By: James M Snell --- doc/api/async_hooks.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/api/async_hooks.md b/doc/api/async_hooks.md index 709a12d3869fdf..d584286d782eea 100644 --- a/doc/api/async_hooks.md +++ b/doc/api/async_hooks.md @@ -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.