Home
last modified time | relevance | path

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

12

/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-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]);
Dtest-trace-events-async-hooks.js62 return (trace.args.data.executionAsyncId > 0 &&
/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-embedder.api.async-resource-no-type.js16 super(type, async_hooks.executionAsyncId());
/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/doc/api/
Dasync_hooks.md36 const eid = async_hooks.executionAsyncId();
268 from `async_hooks.executionAsyncId()` that only shows *when* a resource was
278 const eid = async_hooks.executionAsyncId();
299 happens outside of any JavaScript stack. (An `executionAsyncId()` of `0` means
332 const eid = async_hooks.executionAsyncId();
358 console.log('>>>', async_hooks.executionAsyncId());
380 As illustrated in the example, `executionAsyncId()` and `execution` each specify
509 const { executionAsyncId, executionAsyncResource } = require('async_hooks');
511 console.log(executionAsyncId(), executionAsyncResource()); // 1 {}
513 console.log(executionAsyncId(), executionAsyncResource()); // 7 FSReqWrap
[all …]
Ddeprecations.md1414 `async_hooks.currentId()` was renamed to `async_hooks.executionAsyncId()` for
/third_party/node/lib/internal/
Dtrace_events_async_hooks.js52 executionAsyncId: async_hooks.executionAsyncId() property
Dasync_hooks.js354 if (asyncId === executionAsyncId()) {
559 function executionAsyncId() { function
569 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.js18 executionAsyncId,
189 emitAfter(executionAsyncId());
/third_party/node/lib/
Dasync_hooks.js30 executionAsyncId,
346 executionAsyncId, property
/third_party/node/test/node-api/test_async/
Dtest-async-hooks.js9 const initAsyncId = async_hooks.executionAsyncId();
/third_party/node/doc/changelogs/
DCHANGELOG_V9.md1009 …node/commit/b553daa29b)] - **doc**: add change info for async_hooks.executionAsyncId() (Stephen Be…
1776 …/github.com/nodejs/node/commit/855bb8d486)] - **trace_events**: add executionAsyncId to init event…
DCHANGELOG_V8.md1270 …* add executionAsyncId to init events (Andreas Madsen) [#17196](https://github.com/nodejs/node/pul…
1362 …node/commit/83915234ad)] - **doc**: add change info for async_hooks.executionAsyncId() (Stephen Be…
1536 …node/commit/ae4428e967)] - **(SEMVER-MINOR)** **trace_events**: add executionAsyncId to init event…

12