Skip to content

Commit

Permalink
doc: fix wording in napi_async_init
Browse files Browse the repository at this point in the history
Refs: nodejs/node#32930
PR-URL: nodejs/node#49180
Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
Reviewed-By: Michael Dawson <midawson@redhat.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
  • Loading branch information
sercher committed Apr 25, 2024
1 parent 463a632 commit 4c94d8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion graal-nodejs/doc/api/n-api.md
Expand Up @@ -5629,7 +5629,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 4c94d8a

Please sign in to comment.