mirror of
https://github.com/nodejs/node.git
synced 2026-11-26 21:58:26 -05:00
async_hooks: emit promise trace events from JS
PR-URL: https://github.com/nodejs/node/pull/39135 Backport-PR-URL: https://github.com/nodejs/node/pull/39742 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de>
This commit is contained in:
1 parent
13296d1abf
commit
fc29ddb38e
1 file changed
+1
@@ -31,6 +31,7 @@ const kEnabled = Symbol('enabled');
|
||||
// twice the async_wrap.Providers list is used to filter the events.
|
||||
const nativeProviders = new SafeSet(ObjectKeys(async_wrap.Providers));
|
||||
const typeMemory = new SafeMap();
|
||||
nativeProviders.delete('PROMISE');
|
||||
|
||||
function createHook() {
|
||||
// In traceEvents it is not only the id but also the name that needs to be
|
||||
|
||||
Reference in new issue
Block a user