Skip to content
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

[async_hooks] tracking issue #29

Closed
23 of 27 tasks
AndreasMadsen opened this issue Oct 7, 2015 · 21 comments
Closed
23 of 27 tasks

[async_hooks] tracking issue #29

AndreasMadsen opened this issue Oct 7, 2015 · 21 comments

Comments

@AndreasMadsen
Copy link
Member

AndreasMadsen commented Oct 7, 2015

Missing Handle context

More events

API

Documentation


If something is missing just edit this. But add a comment so we can keep the history.

@Qard
Copy link
Member

Qard commented Oct 7, 2015

Nice, thanks for putting this together! 😸

@AndreasMadsen
Copy link
Member Author

Added:

@AndreasMadsen
Copy link
Member Author

@trevnorris could you add a link to the Promises issue in v8.

@trevnorris
Copy link

@AndreasMadsen Sorry. Forgot about this. Here's the link: https://bugs.chromium.org/p/v8/issues/detail?id=4643

@chrisdickinson
Copy link

Adding Noting nodejs/node#4416 here.

@AndreasMadsen
Copy link
Member Author

updates:

work is being done on:

new:

@trevnorris
Copy link

Note: Getting MakeCallback reentrant, which is necessary to fix some issue with AsyncWrap, has been a bit of a pain. Hopefully will be able to finish it this week.

@trevnorris
Copy link

MakeCallback is now reentrant, and working on a few other improvements for an EnterpriseJS talk today. I'll throw them up in a PR later this week.

@AndreasMadsen
Copy link
Member Author

Updated with PR: nodejs/node#8531 and EP: nodejs/node-eps#18

The current status is that Promises and addon integration is still a todo. The Addon integration solution is documented in nodejs/node-eps#18, but not yet implemented.

@Jeff-Lewis
Copy link
Contributor

@joshgav
Copy link
Contributor

joshgav commented Feb 23, 2017

@trevnorris can you share an update?

@joshgav joshgav changed the title AsyncWrap issues - overview [async_hooks] tracking issue Feb 23, 2017
@bajtos
Copy link

bajtos commented Mar 27, 2017

IMHO, it would be great if async_hooks were calling V8Inspector::asyncTask* to notify the built-in inspector (debugger) about async boundaries, allowing the inspector to show long (async) stack traces in the UI. See nodejs/node#11370

@AndreasMadsen
Copy link
Member Author

async_hooks have landed as an undocumented API. Documentation will be added soon, see: nodejs/node#12953

I have updated the tracking issue to reflect this.

@overlookmotel
Copy link

Great news! But does the fact that Promises/Microtask is not ticked off on OP indicate this isn't working yet?

@AndreasMadsen
Copy link
Member Author

AndreasMadsen commented May 11, 2017

@overlookmotel Yes, Promises will come in another PR soon. It was excluded from nodejs/node#12953 because it was already quite big and we wanted to land it before we got more merge conflicts.

@mhdawson
Copy link
Member

mhdawson commented May 11, 2017

Added this

n-API addon modules integration with AsyncWrap (EP: nodejs/node-eps#18, PR: someone needs to be assigned).

as we need to cover both NaN and N-API

@matthewloring
Copy link

@overlookmotel Check out nodejs/node#13000

@AndreasMadsen
Copy link
Member Author

The C++ Embedder API is in progress, added a PR reference: nodejs/node#13142

@AndreasMadsen
Copy link
Member Author

updated promise support status and added: "exit and beforeExit has no context" which we will likely address post node v.8.x

@AndreasMadsen
Copy link
Member Author

C++ Embedder API has been implemented and merged. I've created an issue for integrating it with NAN and N-API.

@AndreasMadsen
Copy link
Member Author

Closing this issue. I will create a new one for how we are going to bring async_hooks into stable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

10 participants