docs: typo
This commit is contained in:
parent
f19ab98156
commit
cfeefac191
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ app.listen(3000);
|
||||||
|
|
||||||
## Cascading
|
## Cascading
|
||||||
|
|
||||||
Koa middleware cascading in a more traditional way as you may be use to with similar tools -
|
Koa middleware cascade in a more traditional way as you may be used to with similar tools -
|
||||||
this was previously difficult to make user friendly with node's use of callbacks.
|
this was previously difficult to make user friendly with node's use of callbacks.
|
||||||
However with generators we can achieve "true" middleware. Contrasting Connect's implementation which
|
However with generators we can achieve "true" middleware. Contrasting Connect's implementation which
|
||||||
simply passes control through series of functions until one returns, Koa yields "downstream", then
|
simply passes control through series of functions until one returns, Koa yields "downstream", then
|
||||||
|
|
Loading…
Reference in a new issue