-
-
Notifications
You must be signed in to change notification settings - Fork 33.9k
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_wrapandasync_hookshave been implemented in async_hooks initial implementation #11883. addPromiseHookhave 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.