Home
last modified time | relevance | path

Searched refs:executionAsyncId (Results 1 – 25 of 34) sorted by relevance

12

/third_party/node/test/async-hooks/
Dtest-async-exec-resource-http-32060.js6 executionAsyncId,
26 assert.strictEqual(executionAsyncResource(), hooked[executionAsyncId()]);
28 assert.strictEqual(executionAsyncResource(), hooked[executionAsyncId()]);
30 assert.strictEqual(executionAsyncResource(), hooked[executionAsyncId()]);
33 assert.strictEqual(executionAsyncResource(), hooked[executionAsyncId()]);
Dtest-async-exec-resource-http.js7 executionAsyncId,
24 assert.strictEqual(executionAsyncResource(), hooked[executionAsyncId()]);
27 assert.strictEqual(executionAsyncResource(), hooked[executionAsyncId()]);
Dtest-embedder.api.async-resource.js29 async_hooks.executionAsyncId(),
34 const alcaTriggerId = async_hooks.executionAsyncId();
Dtest-queue-microtask.js12 const rootAsyncId = async_hooks.executionAsyncId();
Dtest-nexttick-default-trigger.js15 const rootAsyncId = async_hooks.executionAsyncId();
Dtest-unhandled-rejection-context.js26 assert.strictEqual(async_hooks.executionAsyncId(), promiseAsyncIds[0]);
Dtest-embedder.api.async-resource-no-type.js16 super(type, async_hooks.executionAsyncId());
/third_party/node/test/parallel/
Dtest-asyncresource-bind.js5 const { AsyncResource, executionAsyncId } = require('async_hooks');
8 return executionAsyncId();
12 const asyncId = executionAsyncId();
25 return executionAsyncId();
32 const asyncId = executionAsyncId();
Dtest-eventemitter-asyncresource.js7 executionAsyncId,
64 const origExecutionAsyncId = executionAsyncId();
97 const origExecutionAsyncId = executionAsyncId();
118 const origExecutionAsyncId = executionAsyncId();
Dtest-async-hooks-enable-disable-enable.js12 const initialAsyncId = async_hooks.executionAsyncId();
14 assert.notStrictEqual(async_hooks.executionAsyncId(), initialAsyncId);
Dtest-async-hooks-enable-before-promise-resolve.js13 initialAsyncId = async_hooks.executionAsyncId();
22 const id = async_hooks.executionAsyncId();
Dtest-async-hooks-recursive-stack-runInAsyncScope.js11 assert.strictEqual(a.asyncId(), async_hooks.executionAsyncId());
15 assert.strictEqual(a.asyncId(), async_hooks.executionAsyncId());
Dtest-async-wrap-uncaughtexception.js37 assert.strictEqual(call_id, async_hooks.executionAsyncId());
43 assert.strictEqual(call_id, async_hooks.executionAsyncId());
Dtest-async-hooks-promise-triggerid.js30 assert.strictEqual(async_hooks.executionAsyncId(), promiseAsyncIds[1]);
/third_party/node/doc/api/
Dasync_hooks.md55 const eid = async_hooks.executionAsyncId();
103 const eid = async_hooks.executionAsyncId();
369 from `async_hooks.executionAsyncId()` that only shows _when_ a resource was
375 import { createHook, executionAsyncId } from 'node:async_hooks';
382 const eid = executionAsyncId();
393 const { createHook, executionAsyncId } = require('node:async_hooks');
400 const eid = executionAsyncId();
421 happens outside of any JavaScript stack. (An `executionAsyncId()` of `0` means
458 const eid = async_hooks.executionAsyncId();
484 console.log('>>>', async_hooks.executionAsyncId());
[all …]
Dasync_context.md408 import { AsyncResource, executionAsyncId } from 'node:async_hooks';
412 // async_hook.executionAsyncId() is used.
414 type, { triggerAsyncId: executionAsyncId(), requireManualDestroy: false },
436 const { AsyncResource, executionAsyncId } = require('node:async_hooks');
440 // async_hook.executionAsyncId() is used.
442 type, { triggerAsyncId: executionAsyncId(), requireManualDestroy: false },
468 async event. **Default:** `executionAsyncId()`.
840 import { AsyncResource, executionAsyncId } from 'node:async_hooks';
855 const { AsyncResource, executionAsyncId } = require('node:async_hooks');
/third_party/node/lib/internal/test_runner/
Dharness.js11 executionAsyncId,
44 const test = testResources.get(executionAsyncId());
219 const parent = testResources.get(executionAsyncId()) || getGlobalRoot();
251 const parent = testResources.get(executionAsyncId()) || getGlobalRoot();
/third_party/node/test/addons/async-hooks-id/
Dtest.js10 async_hooks.executionAsyncId(),
20 async_hooks.executionAsyncId(),
/third_party/node/benchmark/async_hooks/
Dasync-resource-vs-destroy.js11 executionAsyncId,
78 const asyncId = executionAsyncId();
83 const asyncId = executionAsyncId();
/third_party/node/lib/internal/
Dtrace_events_async_hooks.js52 executionAsyncId: async_hooks.executionAsyncId(), property
Dasync_hooks.js349 if (asyncId === executionAsyncId()) {
569 function executionAsyncId() { function
579 executionAsyncId, property
/third_party/node/test/addons/async-resource/
Dtest.js11 const rootAsyncId = async_hooks.executionAsyncId();
53 assert.strictEqual(async_hooks.executionAsyncId(), uid);
/third_party/node/lib/internal/process/
Dexecution.js20 executionAsyncId,
191 const asyncId = executionAsyncId();
/third_party/node/deps/npm/test/fixtures/
Dsandbox.js1 const { createHook, executionAsyncId } = require('async_hooks')
238 this[_parent] = executionAsyncId()
291 this[_parent] = executionAsyncId()
/third_party/node/lib/
Dasync_hooks.js36 executionAsyncId,
370 executionAsyncId, property

12