2 ms·
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 supp
by thomasfoster96 11y 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.