Skip to content

Commit 195df65

Browse files
aduh95targos
authored andcommitted
doc: move ERR_NAPI_TSFN_START/STOP_IDLE_LOOP to legacy errors
PR-URL: #55248 Refs: #17887 Refs: #32997 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Jake Yuesong Li <jake.yuesong@gmail.com>
1 parent 4050f68 commit 195df65

File tree

1 file changed

+33
-15
lines changed

1 file changed

+33
-15
lines changed

doc/api/errors.md

+33-15
Original file line numberDiff line numberDiff line change
@@ -2291,21 +2291,6 @@ function.
22912291
An error occurred while attempting to retrieve the JavaScript `undefined`
22922292
value.
22932293

2294-
<a id="ERR_NAPI_TSFN_START_IDLE_LOOP"></a>
2295-
2296-
### `ERR_NAPI_TSFN_START_IDLE_LOOP`
2297-
2298-
On the main thread, values are removed from the queue associated with the
2299-
thread-safe function in an idle loop. This error indicates that an error
2300-
has occurred when attempting to start the loop.
2301-
2302-
<a id="ERR_NAPI_TSFN_STOP_IDLE_LOOP"></a>
2303-
2304-
### `ERR_NAPI_TSFN_STOP_IDLE_LOOP`
2305-
2306-
Once no more items are left in the queue, the idle loop must be suspended. This
2307-
error indicates that the idle loop has failed to stop.
2308-
23092294
<a id="ERR_NOT_BUILDING_SNAPSHOT"></a>
23102295

23112296
### `ERR_NOT_BUILDING_SNAPSHOT`
@@ -3581,6 +3566,39 @@ removed: v10.0.0
35813566

35823567
Used by the `Node-API` when `Constructor.prototype` is not an object.
35833568

3569+
<a id="ERR_NAPI_TSFN_START_IDLE_LOOP"></a>
3570+
3571+
### `ERR_NAPI_TSFN_START_IDLE_LOOP`
3572+
3573+
<!-- YAML
3574+
added:
3575+
- v10.6.0
3576+
- v8.16.0
3577+
removed:
3578+
- v14.2.0
3579+
- v12.17.0
3580+
-->
3581+
3582+
On the main thread, values are removed from the queue associated with the
3583+
thread-safe function in an idle loop. This error indicates that an error
3584+
has occurred when attempting to start the loop.
3585+
3586+
<a id="ERR_NAPI_TSFN_STOP_IDLE_LOOP"></a>
3587+
3588+
### `ERR_NAPI_TSFN_STOP_IDLE_LOOP`
3589+
3590+
<!-- YAML
3591+
added:
3592+
- v10.6.0
3593+
- v8.16.0
3594+
removed:
3595+
- v14.2.0
3596+
- v12.17.0
3597+
-->
3598+
3599+
Once no more items are left in the queue, the idle loop must be suspended. This
3600+
error indicates that the idle loop has failed to stop.
3601+
35843602
<a id="ERR_NO_LONGER_SUPPORTED"></a>
35853603

35863604
### `ERR_NO_LONGER_SUPPORTED`

0 commit comments

Comments
 (0)