-
Notifications
You must be signed in to change notification settings - Fork 31.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
doc: add additional info on TSFN dispatch #48367
Conversation
Refs: nodejs#48356 Signed-off-by: Michael Dawson <[email protected]>
Review requested:
|
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? |
Co-authored-by: Chengzhong Wu <[email protected]>
Co-authored-by: Mohammed Keyvanzadeh <[email protected]>
Refs: #48356 Signed-off-by: Michael Dawson <[email protected]> PR-URL: #48367 Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: Chengzhong Wu <[email protected]>
Landed in 1da9099 |
Refs: #48356 Signed-off-by: Michael Dawson <[email protected]> PR-URL: #48367 Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: Chengzhong Wu <[email protected]>
Refs: nodejs#48356 Signed-off-by: Michael Dawson <[email protected]> PR-URL: nodejs#48367 Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: Chengzhong Wu <[email protected]>
Refs: nodejs#48356 Signed-off-by: Michael Dawson <[email protected]> PR-URL: nodejs#48367 Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: Chengzhong Wu <[email protected]>
Refs: #48356 Signed-off-by: Michael Dawson <[email protected]> PR-URL: #48367 Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: Chengzhong Wu <[email protected]>
Refs: #48356 Signed-off-by: Michael Dawson <[email protected]> PR-URL: #48367 Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: Chengzhong Wu <[email protected]>
Refs: #48356