Possible Duplicate:
Having a hard time trying to understand ‘next/next()’ in express.js
I have the following code in my app.js to handle request
app.get ('/' , routes.index);
require('./services/Category')(app);
I have Category file with the required functionalities and it works fine. But when I explore about Middleware concept there is a specific key word called "next" which is being passed in every method. How does "next" works ? What it carries ?