GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — n-api: add API for asynchronous functions · nodejs/node@91384bf

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • doc/api
    • errors.md
    • n-api.md
  • src
    • node_api.cc
    • node_api.h
    • node_api_types.h
  • test/addons-napi/test_threadsafe_function
    • binding.c
    • binding.gyp
    • test.js
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎doc/api/errors.md‎

Copy file name to clipboardExpand all lines: doc/api/errors.md
+25Lines changed: 25 additions & 0 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -1386,6 +1386,31 @@ multiple of the element size.
13861386
While calling `napi_create_typedarray()`, `(length * size_of_element) +
13871387
byte_offset` was larger than the length of given `buffer`.
13881388

1389+
<a id="ERR_NAPI_TSFN_CALL_JS"></a>
1390+
### ERR_NAPI_TSFN_CALL_JS
1391+
1392+
An error occurred while invoking the JavaScript portion of the thread-safe
1393+
function.
1394+
1395+
<a id="ERR_NAPI_TSFN_GET_UNDEFINED"></a>
1396+
### ERR_NAPI_TSFN_GET_UNDEFINED
1397+
1398+
An error occurred while attempting to retrieve the JavaScript `undefined`
1399+
value.
1400+
1401+
<a id="ERR_NAPI_TSFN_START_IDLE_LOOP"></a>
1402+
### ERR_NAPI_TSFN_START_IDLE_LOOP
1403+
1404+
On the main thread, values are removed from the queue associated with the
1405+
thread-safe function in an idle loop. This error indicates that an error
1406+
has occurred when attemping to start the loop.
1407+
1408+
<a id="ERR_NAPI_TSFN_STOP_IDLE_LOOP"></a>
1409+
### ERR_NAPI_TSFN_STOP_IDLE_LOOP
1410+
1411+
Once no more items are left in the queue, the idle loop must be suspended. This
1412+
error indicates that the idle loop has failed to stop.
1413+
13891414
<a id="ERR_NO_CRYPTO"></a>
13901415
### ERR_NO_CRYPTO
13911416

Collapse file

‎doc/api/n-api.md‎

Copy file name to clipboardExpand all lines: doc/api/n-api.md
+373-1Lines changed: 373 additions & 1 deletion
  • Display the source diff
  • Display the rich diff
Large diffs are not rendered by default.

0 commit comments

Comments
0 (0)
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.