await all promises in a code block

Ah, sorry, this is more or less a duplicate of this (Looked for it, but couldn't find it yesterday):