Home
last modified time | relevance | path

Searched refs:promiseIds (Results 1 – 2 of 2) sorted by relevance

/third_party/node/test/parallel/
Dtest-heapdump-async-hooks-init-promise.js16 const promiseIds = []; variable
22 promiseIds.push(id);
27 if (promiseIds.includes(id)) createSnapshot();
31 if (promiseIds.includes(id)) createSnapshot();
35 assert(promiseIds.includes(id));
40 if (promiseIds.includes(id)) createSnapshot();
/third_party/node/lib/internal/
Dinspector_async_hook.js23 this.promiseIds.add(asyncId);
29 if (this.promiseIds.has(asyncId))
35 if (this.promiseIds.has(asyncId))
41 if (this.promiseIds.has(asyncId))
42 return this.promiseIds.delete(asyncId);
47 hook.promiseIds = new SafeSet();