Skip to content

Commit 9b859f5

Browse files
committed
doc: add missing n-api version indicator
When the threadsafe functions were promoted to version 4 from experimental we missed documenting that. Add the version indicator for these functions in the doc. PR-URL: #27155 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Richard Lau <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent abe4183 commit 9b859f5

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

doc/api/n-api.md

+7
Original file line numberDiff line numberDiff line change
@@ -4602,6 +4602,7 @@ prevent the event loop from exiting. The APIs `napi_ref_threadsafe_function` and
46024602

46034603
<!-- YAML
46044604
added: v10.6.0
4605+
napiVersion: 4
46054606
-->
46064607
```C
46074608
NAPI_EXTERN napi_status
@@ -4645,6 +4646,7 @@ parameters and with `undefined` as its `this` value.
46454646

46464647
<!-- YAML
46474648
added: v10.6.0
4649+
napiVersion: 4
46484650
-->
46494651
```C
46504652
NAPI_EXTERN napi_status
@@ -4663,6 +4665,7 @@ This API may be called from any thread which makes use of `func`.
46634665

46644666
<!-- YAML
46654667
added: v10.6.0
4668+
napiVersion: 4
46664669
-->
46674670
```C
46684671
NAPI_EXTERN napi_status
@@ -4691,6 +4694,7 @@ This API may be called from any thread which makes use of `func`.
46914694

46924695
<!-- YAML
46934696
added: v10.6.0
4697+
napiVersion: 4
46944698
-->
46954699
```C
46964700
NAPI_EXTERN napi_status
@@ -4713,6 +4717,7 @@ This API may be called from any thread which will start making use of `func`.
47134717

47144718
<!-- YAML
47154719
added: v10.6.0
4720+
napiVersion: 4
47164721
-->
47174722
```C
47184723
NAPI_EXTERN napi_status
@@ -4741,6 +4746,7 @@ This API may be called from any thread which will stop making use of `func`.
47414746

47424747
<!-- YAML
47434748
added: v10.6.0
4749+
napiVersion: 4
47444750
-->
47454751
```C
47464752
NAPI_EXTERN napi_status
@@ -4762,6 +4768,7 @@ This API may only be called from the main thread.
47624768

47634769
<!-- YAML
47644770
added: v10.6.0
4771+
napiVersion: 4
47654772
-->
47664773
```C
47674774
NAPI_EXTERN napi_status

0 commit comments

Comments
 (0)