diff --git a/doc/api/n-api.md b/doc/api/n-api.md index 49db0d4e58591e..a39f62aa74cc2b 100644 --- a/doc/api/n-api.md +++ b/doc/api/n-api.md @@ -284,16 +284,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 @@ -307,8 +303,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. @@ -402,8 +396,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 @@ -4600,8 +4592,6 @@ prevent the event loop from exiting. The APIs `napi_ref_threadsafe_function` and ### napi_create_threadsafe_function -> Stability: 2 - Stable -