doc: fix typos in async_hooks

PR-URL: https://github.com/nodejs/node/pull/18314
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
This commit is contained in:
Matthew Turner 2018-01-23 21:08:20 +11:00 committed by Vse Mozhet Byt
parent b2b9d11a14
commit 6a56a0a3f8

View File

@ -244,10 +244,10 @@ RANDOMBYTESREQUEST, TLSWRAP, Timeout, Immediate, TickObject
There is also the `PROMISE` resource type, which is used to track `Promise`
instances and asynchronous work scheduled by them.
Users are be able to define their own `type` when using the public embedder API.
Users are able to define their own `type` when using the public embedder API.
*Note:* It is possible to have type name collisions. Embedders are encouraged
to use a unique prefixes, such as the npm package name, to prevent collisions
to use unique prefixes, such as the npm package name, to prevent collisions
when listening to the hooks.
###### `triggerId`