From 485d60eea287f88d796bed113e56dccce98c3031 Mon Sep 17 00:00:00 2001 From: Matthew Turner Date: Tue, 23 Jan 2018 21:08:20 +1100 Subject: [PATCH] doc: fix typos in async_hooks PR-URL: https://github.com/nodejs/node/pull/18314 Reviewed-By: Vse Mozhet Byt Reviewed-By: Colin Ihrig --- doc/api/async_hooks.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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`