readme: update the order of accepted functions(#958)
Update the order of accepted functions so that it matches the following blocks of text.master
parent
7bd82ac410
commit
cb12aa8ae5
|
@ -47,8 +47,8 @@ app.listen(3000);
|
||||||
|
|
||||||
Koa is a middleware framework that can take two different kinds of functions as middleware:
|
Koa is a middleware framework that can take two different kinds of functions as middleware:
|
||||||
|
|
||||||
* common function
|
|
||||||
* async function
|
* async function
|
||||||
|
* common 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:
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue