2026-06-03 05:08:00 +00:00

8 lines
208 B
JavaScript

// Hangs forever — keeps the event loop alive so the parent's timeout fires.
async function main() {
await new Promise((_resolve) => {
setInterval(() => {}, 1_000_000);
});
}
module.exports = main;