Searched refs:createHook (Results 1 – 25 of 72) sorted by relevance
123
/third_party/node/benchmark/async_hooks/ |
D | promises.js | 3 const { createHook } = require('async_hooks'); 8 hook = createHook({ 13 hook = createHook({ 18 hook = createHook({ 24 hook = createHook({
|
D | gc-tracking.js | 3 const { createHook, AsyncResource } = require('async_hooks'); 35 createHook({ destroy: () => {} }).enable();
|
D | async-resource-vs-destroy.js | 9 createHook, 27 const hook = createHook({ init }); 69 const hook = createHook({ init, destroy });
|
/third_party/node/lib/internal/ |
D | trace_events_async_hooks.js | 38 function createHook() { function 43 const hook = async_hooks.createHook({ 99 exports.createHook = createHook;
|
D | inspector_async_hook.js | 12 const { createHook } = require('async_hooks'); 15 hook = createHook({
|
/third_party/node/test/parallel/ |
D | test-async-hooks-enable-recursive.js | 7 const nestedHook = async_hooks.createHook({ 11 async_hooks.createHook({
|
D | test-async-hooks-enable-disable-enable.js | 8 async_hooks.createHook({ init: () => {} }).enable().disable().enable(); 9 async_hooks.createHook({ init: () => {} }).enable();
|
D | test-async-hooks-fatal-error.js | 14 const { createHook } = require('async_hooks'); 17 createHook({
|
D | test-async-hooks-correctly-switch-promise-hook.js | 13 async_hooks.createHook({ 42 async_hooks.createHook({
|
D | test-async-hooks-execution-async-resource.js | 5 const { executionAsyncResource, createHook } = require('async_hooks'); 13 createHook({
|
D | test-async-hooks-execution-async-resource-await.js | 6 const { executionAsyncResource, createHook } = require('async_hooks'); 15 createHook({
|
D | test-async-hooks-vm-gc.js | 12 const hook = asyncHooks.createHook({ init() {} }).enable();
|
D | test-async-hooks-disable-gc-tracking.js | 10 const hook = async_hooks.createHook({
|
D | test-async-hooks-constructor.js | 14 async_hooks.createHook({ [functionName]: nonFunction });
|
D | test-async-wrap-constructor.js | 13 async_hooks.createHook({ [field]: badArg });
|
D | test-async-hooks-prevent-double-destroy.js | 10 const hook = async_hooks.createHook({
|
/third_party/node/test/async-hooks/ |
D | test-enable-in-init.js | 7 const nestedHook = async_hooks.createHook({ 12 async_hooks.createHook({
|
D | test-disable-in-init.js | 9 async_hooks.createHook({ 19 const nestedHook = async_hooks.createHook({
|
D | test-async-exec-resource-http.js | 8 createHook, 13 createHook({
|
D | test-async-exec-resource-http-32060.js | 7 createHook, 12 createHook({
|
D | test-async-exec-resource-match.js | 7 createHook, 17 createHook({
|
D | test-httpparser-reuse.js | 5 const { createHook } = require('async_hooks'); 19 createHook({
|
D | test-destroy-not-blocked.js | 8 const { createHook, AsyncResource } = require('async_hooks'); 15 createHook({
|
/third_party/node/lib/ |
D | async_hooks.js | 144 function createHook(fns) { function 250 const storageHook = createHook({ 345 createHook, property
|
/third_party/node/test/fixtures/v8-coverage/ |
D | async-hooks.js | 4 const hook = async_hooks.createHook({
|
123