Home
last modified time | relevance | path

Searched refs:createHook (Results 1 – 25 of 72) sorted by relevance

123

/third_party/node/benchmark/async_hooks/
Dpromises.js3 const { createHook } = require('async_hooks');
8 hook = createHook({
13 hook = createHook({
18 hook = createHook({
24 hook = createHook({
Dgc-tracking.js3 const { createHook, AsyncResource } = require('async_hooks');
35 createHook({ destroy: () => {} }).enable();
Dasync-resource-vs-destroy.js9 createHook,
27 const hook = createHook({ init });
69 const hook = createHook({ init, destroy });
/third_party/node/lib/internal/
Dtrace_events_async_hooks.js38 function createHook() { function
43 const hook = async_hooks.createHook({
99 exports.createHook = createHook;
Dinspector_async_hook.js12 const { createHook } = require('async_hooks');
15 hook = createHook({
/third_party/node/test/parallel/
Dtest-async-hooks-enable-recursive.js7 const nestedHook = async_hooks.createHook({
11 async_hooks.createHook({
Dtest-async-hooks-enable-disable-enable.js8 async_hooks.createHook({ init: () => {} }).enable().disable().enable();
9 async_hooks.createHook({ init: () => {} }).enable();
Dtest-async-hooks-fatal-error.js14 const { createHook } = require('async_hooks');
17 createHook({
Dtest-async-hooks-correctly-switch-promise-hook.js13 async_hooks.createHook({
42 async_hooks.createHook({
Dtest-async-hooks-execution-async-resource.js5 const { executionAsyncResource, createHook } = require('async_hooks');
13 createHook({
Dtest-async-hooks-execution-async-resource-await.js6 const { executionAsyncResource, createHook } = require('async_hooks');
15 createHook({
Dtest-async-hooks-vm-gc.js12 const hook = asyncHooks.createHook({ init() {} }).enable();
Dtest-async-hooks-disable-gc-tracking.js10 const hook = async_hooks.createHook({
Dtest-async-hooks-constructor.js14 async_hooks.createHook({ [functionName]: nonFunction });
Dtest-async-wrap-constructor.js13 async_hooks.createHook({ [field]: badArg });
Dtest-async-hooks-prevent-double-destroy.js10 const hook = async_hooks.createHook({
/third_party/node/test/async-hooks/
Dtest-enable-in-init.js7 const nestedHook = async_hooks.createHook({
12 async_hooks.createHook({
Dtest-disable-in-init.js9 async_hooks.createHook({
19 const nestedHook = async_hooks.createHook({
Dtest-async-exec-resource-http.js8 createHook,
13 createHook({
Dtest-async-exec-resource-http-32060.js7 createHook,
12 createHook({
Dtest-async-exec-resource-match.js7 createHook,
17 createHook({
Dtest-httpparser-reuse.js5 const { createHook } = require('async_hooks');
19 createHook({
Dtest-destroy-not-blocked.js8 const { createHook, AsyncResource } = require('async_hooks');
15 createHook({
/third_party/node/lib/
Dasync_hooks.js144 function createHook(fns) { function
250 const storageHook = createHook({
345 createHook, property
/third_party/node/test/fixtures/v8-coverage/
Dasync-hooks.js4 const hook = async_hooks.createHook({

123