diff options
author | Michael Dawson <michael_dawson@ca.ibm.com> | 2019-04-09 11:15:33 -0400 |
---|---|---|
committer | Michael Dawson <michael_dawson@ca.ibm.com> | 2019-04-11 17:31:19 -0400 |
commit | 9b859f50d5ed2ca26def1d595aad99ca745be184 (patch) | |
tree | a0d997171112652edff33464f576afc9baed8af3 | |
parent | abe4183d41be274074c0edfe98851c2a0c93ed77 (diff) | |
download | android-node-v8-9b859f50d5ed2ca26def1d595aad99ca745be184.tar.gz android-node-v8-9b859f50d5ed2ca26def1d595aad99ca745be184.tar.bz2 android-node-v8-9b859f50d5ed2ca26def1d595aad99ca745be184.zip |
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: https://github.com/nodejs/node/pull/27155
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
-rw-r--r-- | doc/api/n-api.md | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/api/n-api.md b/doc/api/n-api.md index d2b665e0bd..de56daf1c6 100644 --- a/doc/api/n-api.md +++ b/doc/api/n-api.md @@ -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 @@ -4645,6 +4646,7 @@ parameters and with `undefined` as its `this` value. <!-- YAML added: v10.6.0 +napiVersion: 4 --> ```C NAPI_EXTERN napi_status @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 |