Created
October 5, 2014 21:21
-
-
Save michelalbers/03f19504708a924d9358 to your computer and use it in GitHub Desktop.
KOA Downstream Upstream Example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
app.use(function*() { | |
this.user = yield magicUserIncjection(); | |
next(); | |
this.newToken = magicNewTokenFunction(); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment