Environment
h3 2.0.1-rc.22
node v24.15.0
Reproduction
// server.mjs
import { H3, serve, writeEarlyHints } from "h3/node";
const app = new H3().get("/", async event => {
await writeEarlyHints(event, {});
return "⚡️ Tadaa!";
});
serve(app, { port: 3000 });
Or clone repo from here https://github.com/pajecawav/h3-early-hints-bug and run pnpm install && node server.mjs
Describe the bug
When using writeEarlyHints with Node runtime promise never resolves so the request handler hangs indefinitely
Additional context
No response
Logs
Environment
h3 2.0.1-rc.22
node v24.15.0
Reproduction
Or clone repo from here https://github.com/pajecawav/h3-early-hints-bug and run
pnpm install && node server.mjsDescribe the bug
When using
writeEarlyHintswith Node runtime promise never resolves so the request handler hangs indefinitelyAdditional context
No response
Logs