-
-
Notifications
You must be signed in to change notification settings - Fork 32.2k
Closed
Closed
Copy link
Labels
async_hooksIssues and PRs related to the async hooks subsystem.Issues and PRs related to the async hooks subsystem.promisesIssues and PRs related to ECMAScript promises.Issues and PRs related to ECMAScript promises.questionIssues that look for answers.Issues that look for answers.
Description
- Version:
- Platform:
- Subsystem:
in the newest nodejs,
- the
async_wrap
andasync_hooks
have been implemented in async_hooks initial implementation #11883. addPromiseHook
have been exposed in domain: support promises #12489
I want to ask that will addPromiseHook
be exposed as Javascript API? Or it will also use the async_wrap
to intercept the promise lifecycle?
The reason I asked is I want to implement an async_hooks
version zone.js
to resolve the
native async/await
issue. currently native async/await
of nodejs use native v8 promise
and can't be tracked by javascript module.
Thank you!
Metadata
Metadata
Assignees
Labels
async_hooksIssues and PRs related to the async hooks subsystem.Issues and PRs related to the async hooks subsystem.promisesIssues and PRs related to ECMAScript promises.Issues and PRs related to ECMAScript promises.questionIssues that look for answers.Issues that look for answers.