pub fn settle_unfinished_entry() -> Result<(), String>Expand description
When the event loop has drained with the ENTRY module still suspended in a
top-level await, node warns and exits 13 (unless the program chose an
exit code). Called once the loop is empty, before the exit event.
node prints one warning per module of the entry’s graph that is stalled in
its own body (ModuleWrap’s check over V8’s stalled-module messages), each
with the source arrow of the await it is suspended in, then the blank
lines its FormatErrorMessage leaves behind an empty reason.