title: Use await outside async
body: <p>Is there a way to make the javascript <code>await</code> keyword work outside <code>async</code> functions? I would like to be able to freeze the entire call-stack (instead of just the rest of the <code>async</code> function), to be resumed once the particular promise returns a value. Sadly a powerful <code>await</code> like that is currently gimped or not implemented yet. I tried to make <a href="https://github.com/MatAtBread/nodent" rel="nofollow noreferrer">nodent.js</a> work, but due to my custom loader and dynamic functions it's unfortunately impractical.</p>