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:
parent
b2b9d11a14
commit
6a56a0a3f8
@ -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`
|
||||
|
Loading…
x
Reference in New Issue
Block a user