|
|
|
|
|
by cute_boi
123 days ago
|
|
I think this is correct behavior. ```
async function run() {
try {
await new Promise(() => {
// The executor function finishes,
// but it never calls resolve() or reject().
});
} finally {
console.log("cleanup");
}
}
``` I never expect cleanup to be logged. |
|