doc: add additional info on TSFN dispatch#48367
Closed
mhdawson wants to merge 3 commits intonodejs:mainfrom
Closed
doc: add additional info on TSFN dispatch#48367mhdawson wants to merge 3 commits intonodejs:mainfrom
mhdawson wants to merge 3 commits intonodejs:mainfrom
Conversation
Refs: nodejs#48356 Signed-off-by: Michael Dawson <mdawson@devrus.com>
Collaborator
|
Review requested:
|
Member
Author
|
Implementation of dispatch is here: Line 350 in a929522 Currently at least 1 and up to 1000 callbacks in the queue will be invoked, but that I believe should be left as an implementation detail. Doc is updated to indicate that more than one can be invoked in tick, but there is no guarantee as to how many will be in any given tick. @nodejs/node-api does that seem reasonable to everybody? |
tniessen
approved these changes
Jun 7, 2023
legendecas
reviewed
Jun 8, 2023
Co-authored-by: Chengzhong Wu <legendecas@gmail.com>
VoltrexKeyva
reviewed
Jun 8, 2023
Co-authored-by: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
legendecas
approved these changes
Jun 10, 2023
Member
Author
|
Landed in 1da9099 |
Merged
Ceres6
pushed a commit
to Ceres6/node
that referenced
this pull request
Aug 14, 2023
Refs: nodejs#48356 Signed-off-by: Michael Dawson <mdawson@devrus.com> PR-URL: nodejs#48367 Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
Ceres6
pushed a commit
to Ceres6/node
that referenced
this pull request
Aug 14, 2023
Refs: nodejs#48356 Signed-off-by: Michael Dawson <mdawson@devrus.com> PR-URL: nodejs#48367 Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Refs: #48356