Skip to content

Commit 777931f

Browse files
tniessenUlisesGascon
authored andcommitted
doc: fix wording in napi_async_init
Refs: #32930 PR-URL: #49180 Reviewed-By: Chengzhong Wu <legendecas@gmail.com> Reviewed-By: Michael Dawson <midawson@redhat.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
1 parent ec51e25 commit 777931f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/api/n-api.md

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

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

0 commit comments

Comments
 (0)