From d87af72f215245f4746d18b18b430a5b164140cf Mon Sep 17 00:00:00 2001 From: TJ Holowaychuk Date: Thu, 19 Dec 2013 13:38:51 -0800 Subject: [PATCH] docs --- docs/api/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/api/index.md b/docs/api/index.md index 51cc668..d1e60cd 100644 --- a/docs/api/index.md +++ b/docs/api/index.md @@ -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".