Skip to content

Commit

Permalink
doc: add missing n-api version indicator
Browse files Browse the repository at this point in the history
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 <cjihrig@gmail.com>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
  • Loading branch information
mhdawson committed Apr 11, 2019
1 parent abe4183 commit 9b859f5
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions doc/api/n-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -4602,6 +4602,7 @@ prevent the event loop from exiting. The APIs `napi_ref_threadsafe_function` and

<!-- YAML
added: v10.6.0
napiVersion: 4
-->
```C
NAPI_EXTERN napi_status
Expand Down Expand Up @@ -4645,6 +4646,7 @@ parameters and with `undefined` as its `this` value.

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

<!-- YAML
added: v10.6.0
napiVersion: 4
-->
```C
NAPI_EXTERN napi_status
Expand Down Expand Up @@ -4691,6 +4694,7 @@ This API may be called from any thread which makes use of `func`.

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

<!-- YAML
added: v10.6.0
napiVersion: 4
-->
```C
NAPI_EXTERN napi_status
Expand Down Expand Up @@ -4741,6 +4746,7 @@ This API may be called from any thread which will stop making use of `func`.

<!-- YAML
added: v10.6.0
napiVersion: 4
-->
```C
NAPI_EXTERN napi_status
Expand All @@ -4762,6 +4768,7 @@ This API may only be called from the main thread.

<!-- YAML
added: v10.6.0
napiVersion: 4
-->
```C
NAPI_EXTERN napi_status
Expand Down

0 comments on commit 9b859f5

Please sign in to comment.