Restrict koa from using non-promise middlewares
Hello there. In koa@2 when you use the mix of normal and async functions as middlewares, the normal function behave unproperly if it doesn't return a promise. I propose to add a verification if function returns promise, so no other developers will be confused.