xref: /third_party/node/test/fixtures/v8-coverage/async-hooks.js
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /third_party/node/test/fixtures/v8-coverage/
11cb0ef41Sopenharmony_ciconst async_hooks = require('async_hooks');
21cb0ef41Sopenharmony_ciconst common = require('../../common');
31cb0ef41Sopenharmony_ci
41cb0ef41Sopenharmony_ciconst hook = async_hooks.createHook({
51cb0ef41Sopenharmony_ci  init: common.mustNotCall(),
61cb0ef41Sopenharmony_ci  before: common.mustNotCall(),
71cb0ef41Sopenharmony_ci  after: common.mustNotCall(),
81cb0ef41Sopenharmony_ci  destroy: common.mustNotCall()
91cb0ef41Sopenharmony_ci});
101cb0ef41Sopenharmony_ci
111cb0ef41Sopenharmony_cihook.enable();
12

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