From 777931f499233828571c1ee34964d16ea5b98590 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20Nie=C3=9Fen?= Date: Thu, 17 Aug 2023 21:05:44 +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 --- doc/api/n-api.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api/n-api.md b/doc/api/n-api.md index 786df00f9a7960..26ca5dc83fb34f 100644 --- a/doc/api/n-api.md +++ b/doc/api/n-api.md @@ -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.