From 0e4545c03b08f743ec8a422533783174033e719d Mon Sep 17 00:00:00 2001 From: TJ Holowaychuk Date: Wed, 18 Dec 2013 22:45:33 -0800 Subject: [PATCH] docs --- docs/api/index.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/api/index.md b/docs/api/index.md index 3ca25a4..9e48860 100644 --- a/docs/api/index.md +++ b/docs/api/index.md @@ -26,8 +26,8 @@ app.listen(3000); ## Cascading - Koa middleware cascading in a more traditional way as you may be use to with similar tools, - this was previsouly not impossible - but difficult to make user friendly due to node's callbacks, + Koa middleware cascading in a more traditional way as you may be use to with similar tools - + this was previsouly not impossible, but difficult to make user friendly due to node's 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".