koajs/route — pull request #9 by hallas (2014-04-22 19:03:40+00:00)
Title: Support for multiple route handlers

Adds support for multiple route handlers on the form route.get(path, fn1, fn2, .., fnN) where only fnN receives the next generator. The previous fns are yielded synchronous to the fnN but asynchronous to each other. They can be used to perform auxiliary duties such as validating user permissions.