-
Notifications
You must be signed in to change notification settings - Fork 29.6k
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 <mdawson@devrus.com>
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 <legendecas@gmail.com>
Co-authored-by: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
Landed in 1da9099 |
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>
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>
Refs: #48356