Skip to content

Commit

Permalink
doc: fix wording in napi_async_init
Browse files Browse the repository at this point in the history
Refs: #32930
  • Loading branch information
tniessen committed Aug 15, 2023
1 parent 1aeb48c commit 3047ead
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/api/n-api.md
Expand Up @@ -5633,7 +5633,7 @@ problems like loss of async context when using the `AsyncLocalStorage` API.

In order to retain ABI compatibility with previous versions, passing `NULL`
for `async_resource` does not result in an error. However, this is not
recommended as this will result poor results with `async_hooks`
recommended as this will result in undesirable behavior with `async_hooks`
[`init` hooks][] and `async_hooks.executionAsyncResource()` as the resource is
now required by the underlying `async_hooks` implementation in order to provide
the linkage between async callbacks.
Expand Down

0 comments on commit 3047ead

Please sign in to comment.