Closed
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!