readme: change generatorFunction
to generator function
(#912)
change word `generatorFunction` to `generator function`, because to correspondence with the above form
This commit is contained in:
parent
0c2d881b67
commit
207aa4e75b
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ Koa is a middleware framework that can take 3 different kinds of functions as mi
|
|||
|
||||
* common function
|
||||
* async function
|
||||
* generatorFunction
|
||||
* generator function
|
||||
|
||||
Here is an example of logger middleware with each of the different functions:
|
||||
|
||||
|
|
Loading…
Reference in a new issue