- Version:12.9.1
- Platform:Linux (debian)
- Subsystem: Promise, i guess
When I create a Promise.all() call with a promise that never resolves, instead of throwing an error, it just silently kills the program, even if other things are going on (e.g. running a server).
Here's minimal code:
[expected: "done!" or an error or something, please]
async function a(){
await Promise.all([new Promise((resolve)=>{
})]);
console.log("done!");
}
a();