Hacker News new | ask | show | jobs
by thomasfoster96 4044 days ago
Well, okay, quick and dirty scripts where you are expecting (or want) things to be blocking are probably the one place where you need things to be sync.

I suppose though that you could always just call process.exit() when a callback was called or a promise resolved. Personally I'd love a file-level await statement.