Lines Matching refs:executionAsyncId
36 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
523 executionAsyncId,
546 ### `async_hooks.executionAsyncId()`
562 console.log(async_hooks.executionAsyncId()); // 1 - bootstrap
564 console.log(async_hooks.executionAsyncId()); // 6 - open()
568 The ID returned from `executionAsyncId()` is related to execution timing, not
575 async_hooks.executionAsyncId();
580 async_hooks.executionAsyncId();
620 console.log(`eid ${ah.executionAsyncId()} tid ${ah.triggerAsyncId()}`);
638 console.log(`eid ${ah.executionAsyncId()} tid ${ah.triggerAsyncId()}`);
674 const { AsyncResource, executionAsyncId } = require('async_hooks');
678 // async_hook.executionAsyncId() is used.
680 type, { triggerAsyncId: executionAsyncId(), requireManualDestroy: false }
706 async event. **Default:** `executionAsyncId()`.
941 const { AsyncResource, executionAsyncId } = require('async_hooks');