Skip to content

Commit 43d661b

Browse files
committed
doc: fix wording in napi_async_init
Refs: nodejs/node#32930 PR-URL: nodejs/node#49180 Reviewed-By: Chengzhong Wu <[email protected]> Reviewed-By: Michael Dawson <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
1 parent b351998 commit 43d661b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

graal-nodejs/doc/api/n-api.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -5629,7 +5629,7 @@ problems like loss of async context when using the `AsyncLocalStorage` API.
56295629

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

0 commit comments

Comments
 (0)