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:
石发磊 2017-02-26 02:59:55 +08:00 committed by jongleberry
parent 0c2d881b67
commit 207aa4e75b

View file

@ -47,7 +47,7 @@ Koa is a middleware framework that can take 3 different kinds of functions as mi
* common function * common function
* async function * async function
* generatorFunction * generator function
Here is an example of logger middleware with each of the different functions: Here is an example of logger middleware with each of the different functions: