Skip to content

Commit

Permalink
async_hooks: emit promise trace events from JS
Browse files Browse the repository at this point in the history
  • Loading branch information
Qard committed Jul 5, 2021
1 parent f257b8d commit 666983d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/internal/trace_events_async_hooks.js
Expand Up @@ -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
Expand Down

0 comments on commit 666983d

Please sign in to comment.