You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$> node a.mjs
Warning: Detected unsettled top-level await at a.mjs:1
await new Promise(r => {});
^
If it hangs instead of erroring, it should do it at 0% cpu usage not 100%
The text was updated successfully, but these errors were encountered:
cirospaciari
changed the title
100% cpu usage waiting for a promise that will never resolve
awaiting top level promise missing error/warn, causes 100% cpu usage waiting for a promise that will never resolve
Nov 2, 2024
cirospaciari
changed the title
awaiting top level promise missing error/warn, causes 100% cpu usage waiting for a promise that will never resolve
awaiting top level promise that never resolves is missing an error/warn, causing 100% cpu usage
Nov 2, 2024
cirospaciari
changed the title
awaiting top level promise that never resolves is missing an error/warn, causing 100% cpu usage
awaiting top level no-op promise that never resolves is missing an error/warn, causing 100% cpu usage
Nov 2, 2024
If it hangs instead of erroring, it should do it at 0% cpu usage not 100%
The text was updated successfully, but these errors were encountered: