From 76146096a0c935a4b75780adc551c650a1277c64 Mon Sep 17 00:00:00 2001 From: Antoine du Hamel Date: Sat, 5 Oct 2024 10:59:13 +0100 Subject: [PATCH] doc: move `ERR_NAPI_TSFN_START/STOP_IDLE_LOOP` to legacy errors PR-URL: https://github.com/nodejs/node/pull/55248 Refs: https://github.com/nodejs/node/pull/17887 Refs: https://github.com/nodejs/node/pull/32997 Reviewed-By: Luigi Pinca Reviewed-By: Jake Yuesong Li --- doc/api/errors.md | 48 ++++++++++++++++++++++++++++++++--------------- 1 file changed, 33 insertions(+), 15 deletions(-) diff --git a/doc/api/errors.md b/doc/api/errors.md index 37319f4c3c8d15..290514b8229436 100644 --- a/doc/api/errors.md +++ b/doc/api/errors.md @@ -2278,21 +2278,6 @@ function. An error occurred while attempting to retrieve the JavaScript `undefined` value. - - -### `ERR_NAPI_TSFN_START_IDLE_LOOP` - -On the main thread, values are removed from the queue associated with the -thread-safe function in an idle loop. This error indicates that an error -has occurred when attempting to start the loop. - - - -### `ERR_NAPI_TSFN_STOP_IDLE_LOOP` - -Once no more items are left in the queue, the idle loop must be suspended. This -error indicates that the idle loop has failed to stop. - ### `ERR_NOT_BUILDING_SNAPSHOT` @@ -3605,6 +3590,39 @@ removed: v10.0.0 Used by the `Node-API` when `Constructor.prototype` is not an object. + + +### `ERR_NAPI_TSFN_START_IDLE_LOOP` + + + +On the main thread, values are removed from the queue associated with the +thread-safe function in an idle loop. This error indicates that an error +has occurred when attempting to start the loop. + + + +### `ERR_NAPI_TSFN_STOP_IDLE_LOOP` + + + +Once no more items are left in the queue, the idle loop must be suspended. This +error indicates that the idle loop has failed to stop. + ### `ERR_NO_LONGER_SUPPORTED`