From 43d661bac72d27b7d0c3105ed1e0434842f5e3ca Mon Sep 17 00:00:00 2001 From: Sergey Chernyshev Date: Thu, 25 Apr 2024 04:20:24 +0200 Subject: [PATCH] doc: fix wording in napi_async_init Refs: https://github.com/nodejs/node/pull/32930 PR-URL: https://github.com/nodejs/node/pull/49180 Reviewed-By: Chengzhong Wu Reviewed-By: Michael Dawson Reviewed-By: Luigi Pinca --- graal-nodejs/doc/api/n-api.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/graal-nodejs/doc/api/n-api.md b/graal-nodejs/doc/api/n-api.md index 8560d994ec..1c90885bc7 100644 --- a/graal-nodejs/doc/api/n-api.md +++ b/graal-nodejs/doc/api/n-api.md @@ -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.