xref: /third_party/node/test/fixtures/v8-coverage/async-hooks.js (revision 1cb0ef41)
  • Home
  • History
  • Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /third_party/node/test/fixtures/v8-coverage/
1const async_hooks = require('async_hooks');
2const common = require('../../common');
3
4const hook = async_hooks.createHook({
5  init: common.mustNotCall(),
6  before: common.mustNotCall(),
7  after: common.mustNotCall(),
8  destroy: common.mustNotCall()
9});
10
11hook.enable();
12

Indexes created Thu Nov 07 10:32:03 CST 2024