Skip to content

Commit a301596

Browse files
authored
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 bbdfeeb commit a301596

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
@@ -2278,21 +2278,6 @@ function.
22782278
An error occurred while attempting to retrieve the JavaScript `undefined`
22792279
value.
22802280

2281-
<a id="ERR_NAPI_TSFN_START_IDLE_LOOP"></a>
2282-
2283-
### `ERR_NAPI_TSFN_START_IDLE_LOOP`
2284-
2285-
On the main thread, values are removed from the queue associated with the
2286-
thread-safe function in an idle loop. This error indicates that an error
2287-
has occurred when attempting to start the loop.
2288-
2289-
<a id="ERR_NAPI_TSFN_STOP_IDLE_LOOP"></a>
2290-
2291-
### `ERR_NAPI_TSFN_STOP_IDLE_LOOP`
2292-
2293-
Once no more items are left in the queue, the idle loop must be suspended. This
2294-
error indicates that the idle loop has failed to stop.
2295-
22962281
<a id="ERR_NOT_BUILDING_SNAPSHOT"></a>
22972282

22982283
### `ERR_NOT_BUILDING_SNAPSHOT`
@@ -3605,6 +3590,39 @@ removed: v10.0.0
36053590

36063591
Used by the `Node-API` when `Constructor.prototype` is not an object.
36073592

3593+
<a id="ERR_NAPI_TSFN_START_IDLE_LOOP"></a>
3594+
3595+
### `ERR_NAPI_TSFN_START_IDLE_LOOP`
3596+
3597+
<!-- YAML
3598+
added:
3599+
- v10.6.0
3600+
- v8.16.0
3601+
removed:
3602+
- v14.2.0
3603+
- v12.17.0
3604+
-->
3605+
3606+
On the main thread, values are removed from the queue associated with the
3607+
thread-safe function in an idle loop. This error indicates that an error
3608+
has occurred when attempting to start the loop.
3609+
3610+
<a id="ERR_NAPI_TSFN_STOP_IDLE_LOOP"></a>
3611+
3612+
### `ERR_NAPI_TSFN_STOP_IDLE_LOOP`
3613+
3614+
<!-- YAML
3615+
added:
3616+
- v10.6.0
3617+
- v8.16.0
3618+
removed:
3619+
- v14.2.0
3620+
- v12.17.0
3621+
-->
3622+
3623+
Once no more items are left in the queue, the idle loop must be suspended. This
3624+
error indicates that the idle loop has failed to stop.
3625+
36083626
<a id="ERR_NO_LONGER_SUPPORTED"></a>
36093627

36103628
### `ERR_NO_LONGER_SUPPORTED`

0 commit comments

Comments
 (0)