diff --git a/doc/api/async_hooks.md b/doc/api/async_hooks.md index b22c2448046721..4fa23f28d116b0 100644 --- a/doc/api/async_hooks.md +++ b/doc/api/async_hooks.md @@ -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`