Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 2a561ae

Browse filesBrowse files
mhdawsonruyadorno
authored andcommitted
doc: add additional info on TSFN dispatch
Refs: #48356 Signed-off-by: Michael Dawson <mdawson@devrus.com> PR-URL: #48367 Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
1 parent 5cc6eee commit 2a561ae
Copy full SHA for 2a561ae

File tree

Expand file treeCollapse file tree

1 file changed

+5
-0
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+5
-0
lines changed
Open diff view settings
Collapse file

‎doc/api/n-api.md‎

Copy file name to clipboardExpand all lines: doc/api/n-api.md
+5Lines changed: 5 additions & 0 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -6066,6 +6066,11 @@ Node.js process exits while there is a thread-safe function still active.
60666066
It is not necessary to call into JavaScript via `napi_make_callback()` because
60676067
Node-API runs `call_js_cb` in a context appropriate for callbacks.
60686068

6069+
Zero or more queued items may be invoked in each tick of the event loop.
6070+
Applications should not depend on a specific behavior other than progress in
6071+
invoking callbacks will be made and events will be invoked
6072+
as time moves forward.
6073+
60696074
### Reference counting of thread-safe functions
60706075

60716076
Threads can be added to and removed from a `napi_threadsafe_function` object

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.