From e06397c33f5bede3710397d8150e5bf5c99fa4aa Mon Sep 17 00:00:00 2001 From: Michael Dawson Date: Fri, 17 May 2019 15:11:46 -0400 Subject: [PATCH 1/2] doc: remove stability highlight for stable functions We don't have the stability functions for all stable functions, only those that were previously experimental and then when stable. Remove the stability indicator to be consistent with the rest of the functions. --- doc/api/n-api.md | 24 ------------------------ 1 file changed, 24 deletions(-) diff --git a/doc/api/n-api.md b/doc/api/n-api.md index c5e3ef4fbcc100..d31ac4f4b24e5e 100644 --- a/doc/api/n-api.md +++ b/doc/api/n-api.md @@ -3,8 +3,6 @@ -> Stability: 2 - Stable - N-API (pronounced N as in the letter, followed by API) is an API for building native Addons. It is independent from the underlying JavaScript runtime (ex V8) and is maintained as part of @@ -283,16 +281,12 @@ This is an opaque pointer that is used to represent a JavaScript value. ### napi_threadsafe_function -> Stability: 2 - Stable - This is an opaque pointer that represents a JavaScript function which can be called asynchronously from multiple threads via `napi_call_threadsafe_function()`. ### napi_threadsafe_function_release_mode -> Stability: 2 - Stable - A value to be given to `napi_release_threadsafe_function()` to indicate whether the thread-safe function is to be closed immediately (`napi_tsfn_abort`) or merely released (`napi_tsfn_release`) and thus available for subsequent use via @@ -306,8 +300,6 @@ typedef enum { ### napi_threadsafe_function_call_mode -> Stability: 2 - Stable - A value to be given to `napi_call_threadsafe_function()` to indicate whether the call should block whenever the queue associated with the thread-safe function is full. @@ -401,8 +393,6 @@ typedef void (*napi_async_complete_callback)(napi_env env, #### napi_threadsafe_function_call_js -> Stability: 2 - Stable - Function pointer used with asynchronous thread-safe function calls. The callback will be called on the main thread. Its purpose is to use a data item arriving via the queue from one of the secondary threads to construct the parameters @@ -4599,8 +4589,6 @@ prevent the event loop from exiting. The APIs `napi_ref_threadsafe_function` and ### napi_create_threadsafe_function -> Stability: 2 - Stable - +> Stability: 2 - Stable + N-API (pronounced N as in the letter, followed by API) is an API for building native Addons. It is independent from the underlying JavaScript runtime (ex V8) and is maintained as part of