Files
scriptc/scratch-cov5.mjs
Chris Tate b029955fef Compile async_hooks execution ids, createHook and asyncWrapProviders natively (#3732)
* Compile async_hooks execution ids, createHook and asyncWrapProviders natively

* Evaluate a createHook literal's members in source order and rehash promise resources into the new capacity

* Commit an immediate's queue slot only after its init hook has run

* Retire a promise's async resource when the promise is destroyed

* Keep the runtime sound when an async hook reenters it

* Release the auto-allocated buffer of a detached byte read
2026-11-18 21:45:54 -06:00

4 lines
218 B
JavaScript

import { analyze } from "./packages/compiler/dist/index.js";
const { coverage } = analyze("tests/corpus/async-hooks-execution-ids.cjs", {});
console.log(JSON.stringify(coverage.runtimeFences, null, 1).slice(0, 3000));