summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Turner <matty_t47@hotmail.com>2018-01-23 21:08:20 +1100
committerVse Mozhet Byt <vsemozhetbyt@gmail.com>2018-01-23 20:24:58 +0200
commit6a56a0a3f831a28376e73eab809e66fb639628b9 (patch)
tree16d0eb452c9b486c7d781bfe7daaf15a39b4ebb6
parentb2b9d11a14c85296f2435894bcc43b94c10dce07 (diff)
downloadandroid-node-v8-6a56a0a3f831a28376e73eab809e66fb639628b9.tar.gz
android-node-v8-6a56a0a3f831a28376e73eab809e66fb639628b9.tar.bz2
android-node-v8-6a56a0a3f831a28376e73eab809e66fb639628b9.zip
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>
-rw-r--r--doc/api/async_hooks.md4
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`