Searched refs:executionAsyncResource (Results 1 – 14 of 14) sorted by relevance
/third_party/node/test/async-hooks/ |
D | test-async-exec-resource-http-32060.js | 5 executionAsyncResource, 26 assert.strictEqual(executionAsyncResource(), hooked[executionAsyncId()]); 28 assert.strictEqual(executionAsyncResource(), hooked[executionAsyncId()]); 30 assert.strictEqual(executionAsyncResource(), hooked[executionAsyncId()]); 33 assert.strictEqual(executionAsyncResource(), hooked[executionAsyncId()]);
|
D | test-async-exec-resource-match.js | 8 executionAsyncResource, 42 const execRes = executionAsyncResource(); 50 const execRes = executionAsyncResource(); 58 const execRes = executionAsyncResource();
|
D | test-async-exec-resource-http.js | 6 executionAsyncResource, 24 assert.strictEqual(executionAsyncResource(), hooked[executionAsyncId()]); 27 assert.strictEqual(executionAsyncResource(), hooked[executionAsyncId()]);
|
/third_party/node/test/parallel/ |
D | test-async-hooks-execution-async-resource.js | 5 const { executionAsyncResource, createHook } = require('async_hooks'); 11 assert.ok(executionAsyncResource()); 15 const cr = executionAsyncResource(); 21 executionAsyncResource()[sym] = { state: req.url }; variable 23 const { state } = executionAsyncResource()[sym];
|
D | test-async-hooks-execution-async-resource-await.js | 6 const { executionAsyncResource, createHook } = require('async_hooks'); 13 assert.ok(executionAsyncResource()); 17 const cr = executionAsyncResource(); 23 executionAsyncResource()[sym] = { state: req.url }; variable 25 const { state } = executionAsyncResource()[sym];
|
/third_party/node/test/node-api/test_async_context/ |
D | test-gcable-callback.js | 52 const executionAsyncResource = async_hooks.executionAsyncResource(); constant 58 assert.strictEqual(typeof executionAsyncResource, 'object'); 59 assert.strictEqual(executionAsyncResource.foo, undefined);
|
D | test.js | 47 async_hooks.executionAsyncResource() 55 async_hooks.executionAsyncResource()
|
/third_party/node/lib/ |
D | async_hooks.js | 38 executionAsyncResource, 252 const currentResource = executionAsyncResource(); 296 const resource = executionAsyncResource(); 308 const resource = executionAsyncResource(); 334 const resource = executionAsyncResource(); 348 executionAsyncResource, property
|
/third_party/node/benchmark/async_hooks/ |
D | async-resource-vs-destroy.js | 10 executionAsyncResource, 37 const resource = executionAsyncResource(); 45 const resource = executionAsyncResource(); 54 const cr = executionAsyncResource();
|
/third_party/node/test/node-api/test_make_callback/ |
D | test-async-hooks.js | 44 assert.strictEqual(async_hooks.executionAsyncResource(), resource);
|
/third_party/node/lib/internal/ |
D | async_hooks.js | 51 executionAsyncResource: executionAsyncResource_, 144 function executionAsyncResource() { function 587 executionAsyncResource, property
|
/third_party/node/doc/api/ |
D | async_hooks.md | 490 ### `async_hooks.executionAsyncResource()` 499 Resource objects returned by `executionAsyncResource()` are most often internal 503 Using `executionAsyncResource()` in the top-level execution context will 509 const { executionAsyncId, executionAsyncResource } = require('async_hooks'); 511 console.log(executionAsyncId(), executionAsyncResource()); // 1 {} 513 console.log(executionAsyncId(), executionAsyncResource()); // 7 FSReqWrap 524 executionAsyncResource, 531 const cr = executionAsyncResource(); 539 executionAsyncResource()[sym] = { state: req.url }; 541 res.end(JSON.stringify(executionAsyncResource()[sym]));
|
D | n-api.md | 5202 accessed by [`async_hooks.executionAsyncResource()`][]. 5222 [`init` hooks][] and `async_hooks.executionAsyncResource()` as the resource is 6036 [`async_hooks.executionAsyncResource()`]: async_hooks.md#async_hooks_async_hooks_executionasyncreso…
|
/third_party/node/doc/changelogs/ |
D | CHANGELOG_V13.md | 347 …://github.com/nodejs/node/commit/6af9e7e0c3)] - **async_hooks**: executionAsyncResource matches in… 443 * add executionAsyncResource (Matteo Collina) [#30959](https://github.com/nodejs/node/pull/30959) 468 …de/commit/6be51296e4)] - **(SEMVER-MINOR)** **async_hooks**: add executionAsyncResource (Matteo Co…
|