From 9b859f50d5ed2ca26def1d595aad99ca745be184 Mon Sep 17 00:00:00 2001 From: Michael Dawson Date: Tue, 9 Apr 2019 11:15:33 -0400 Subject: [PATCH] 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 Reviewed-By: Richard Lau Reviewed-By: James M Snell --- doc/api/n-api.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/doc/api/n-api.md b/doc/api/n-api.md index d2b665e0bd86b0..de56daf1c6fd56 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 ```C NAPI_EXTERN napi_status @@ -4645,6 +4646,7 @@ parameters and with `undefined` as its `this` value. ```C NAPI_EXTERN napi_status @@ -4663,6 +4665,7 @@ This API may be called from any thread which makes use of `func`. ```C NAPI_EXTERN napi_status @@ -4691,6 +4694,7 @@ This API may be called from any thread which makes use of `func`. ```C NAPI_EXTERN napi_status @@ -4713,6 +4717,7 @@ This API may be called from any thread which will start making use of `func`. ```C NAPI_EXTERN napi_status @@ -4741,6 +4746,7 @@ This API may be called from any thread which will stop making use of `func`. ```C NAPI_EXTERN napi_status @@ -4762,6 +4768,7 @@ This API may only be called from the main thread. ```C NAPI_EXTERN napi_status