docs
This commit is contained in:
parent
4923688944
commit
0e4545c03b
1 changed files with 2 additions and 2 deletions
|
@ -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".
|
||||
|
|
Loading…
Reference in a new issue