master
TJ Holowaychuk 2013-12-19 13:38:51 -08:00
parent 88a4f93e28
commit d87af72f21
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ app.listen(3000);
## Cascading
Koa middleware cascading in a more traditional way as you may be use to with similar tools -
this was previously very difficult to make user friendly due to node's callbacks.
this was previously difficult to make user friendly with node's use of callbacks.
However with generators we can achieve "true" middlware. Contrasting Connect's implementation which
simply passes control through series of functions until one returns, Koa yields "downstream", then
control flows back "upstream".