You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
in the newest nodejs,
async_wrapandasync_hookshave been implemented in async_hooks initial implementation #11883.addPromiseHookhave been exposed in domain: support promises #12489I want to ask that will
addPromiseHookbe exposed as Javascript API? Or it will also use theasync_wrapto intercept the promise lifecycle?The reason I asked is I want to implement an
async_hooksversionzone.jsto resolve thenative
async/awaitissue. currently nativeasync/awaitof nodejs use native v8promiseand can't be tracked by javascript module.Thank you!