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 b9c643e

Browse filesBrowse files
mhdawsonRafaelGSS
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 17a0e1d commit b9c643e
Copy full SHA for b9c643e

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
@@ -6070,6 +6070,11 @@ Node.js process exits while there is a thread-safe function still active.
60706070
It is not necessary to call into JavaScript via `napi_make_callback()` because
60716071
Node-API runs `call_js_cb` in a context appropriate for callbacks.
60726072

6073+
Zero or more queued items may be invoked in each tick of the event loop.
6074+
Applications should not depend on a specific behavior other than progress in
6075+
invoking callbacks will be made and events will be invoked
6076+
as time moves forward.
6077+
60736078
### Reference counting of thread-safe functions
60746079

60756080
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.