diff --git a/docs/api/index.md b/docs/api/index.md index 38632fa81..d1b3a9b59 100644 --- a/docs/api/index.md +++ b/docs/api/index.md @@ -46,8 +46,7 @@ app.listen(3000); control flows back "upstream". The following example responds with "Hello World", however first the request flows through - the `x-response-time` and `logging` middleware to mark when the request started, then continue - to yield control through the response middleware. When a middleware invokes `next()` + the `x-response-time` and `logging` middleware to mark when the request started, then yields control through the response middleware. When a middleware invokes `next()` the function suspends and passes control to the next middleware defined. After there are no more middleware to execute downstream, the stack will unwind and each middleware is resumed to perform its upstream behaviour.