This seems like a straightforward google, but I can\'t seem to find the answer...
Can you pass in ES7 async functions to the Express router?
Example:
<
I think you can't do it directly because exceptions are not caught and the function won't return if one is thrown. This article explains how to create a wrapper function to make it work: http://thecodebarbarian.com/using-async-await-with-mocha-express-and-mongoose.html
I haven't tried it but was investigating this recently.