readme: update the order of accepted functions(#958)
Update the order of accepted functions so that it matches the following blocks of text.
This commit is contained in:
parent
7bd82ac410
commit
cb12aa8ae5
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue