-
Notifications
You must be signed in to change notification settings - Fork 29.8k
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
src,async_hooks,n-api: refactor async callback handling #14697
Commits on Sep 14, 2017
-
src: refactor
#include
handling`node_internals.h` already includes the most common headers, so double includes can be avoided in a lot of cases. Also don’t include `node_internals.h` from `node.h` implicitly anymore, as that is mostly unnecessary. PR-URL: nodejs#14697 Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: Refael Ackermann <[email protected]> Reviewed-By: James M Snell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for eacd2e9 - Browse repository at this point
Copy the full SHA eacd2e9View commit details -
src: make in_makecallback() getter const
PR-URL: nodejs#14697 Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: Refael Ackermann <[email protected]> Reviewed-By: James M Snell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 95976d8 - Browse repository at this point
Copy the full SHA 95976d8View commit details -
src: refactor async callback handling
- Merge the two almost-but-not-quite identical `MakeCallback()` implementations - Provide a public `CallbackScope` class for embedders in order to enable `MakeCallback()`-like behaviour without tying that to calling a JS function PR-URL: nodejs#14697 Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: Refael Ackermann <[email protected]> Reviewed-By: James M Snell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f3ef344 - Browse repository at this point
Copy the full SHA f3ef344View commit details -
src: remove virtually unused ExecScope
PR-URL: nodejs#14697 Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: Refael Ackermann <[email protected]> Reviewed-By: James M Snell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4262fad - Browse repository at this point
Copy the full SHA 4262fadView commit details -
n-api: use AsyncResource for Work tracking
Enable combining N-API async work with async-hooks. PR-URL: nodejs#14697 Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: Refael Ackermann <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Jason Ginchereau <[email protected]> Reviewed-By: Michael Dawson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 008d3bc - Browse repository at this point
Copy the full SHA 008d3bcView commit details -
test: add regression test for 5691
With `CallbackScope`, this has become possible to do properly. Fixes: nodejs#5691 PR-URL: nodejs#14697 Reviewed-By: James M Snell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4a02025 - Browse repository at this point
Copy the full SHA 4a02025View commit details -
src: move DomainEnter,DomainExit to node.cc
Reviewed-By: Trevor Norris <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 733e29d - Browse repository at this point
Copy the full SHA 733e29dView commit details -
n-api: change async resource name to napi_value
Reviewed-By: Anna Henningsen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 15aca60 - Browse repository at this point
Copy the full SHA 15aca60View commit details