Skip to content

Commit 666983d

Browse files
author
Stephen Belanger
committed
async_hooks: emit promise trace events from JS
1 parent f257b8d commit 666983d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/internal/trace_events_async_hooks.js

+1
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ const kEnabled = Symbol('enabled');
3131
// twice the async_wrap.Providers list is used to filter the events.
3232
const nativeProviders = new SafeSet(ObjectKeys(async_wrap.Providers));
3333
const typeMemory = new SafeMap();
34+
nativeProviders.delete('PROMISE');
3435

3536
function createHook() {
3637
// In traceEvents it is not only the id but also the name that needs to be

0 commit comments

Comments
 (0)