Northern SavageN
Deno2y ago
1 reply
Northern Savage

await promise does not yield control

https://github.com/denoland/deno/issues/24360

Is this a bug or not? If so, is it a bug of Deno? of V8? of JS?
GitHub
deno 1.44.0 (release, aarch64-apple-darwin) v8 12.6.228.3 typescript 5.4.5 Consider (async ()=>{ for(;;) { await new Promise(res => { res(undefined) }) } })(); await new Promise(res => { s...
`await promise` does not guarantee the yield of control flow · Issu...
Was this page helpful?