diff options
-rw-r--r-- | doc/api/async_hooks.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/api/async_hooks.md b/doc/api/async_hooks.md index b22c244804..4fa23f28d1 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` |