NextFunction interface

The next() callback an express-like framework passes to a middleware.

Signature:

export interface NextFunction 

Remarks

The middlewares here call it with no arguments, and only for a request that passed. A rejected request is answered directly and next is never called, so nothing downstream runs.

Read this page as plain markdown — no HTML, no navigation. For pasting into an LLM, or for an agent to fetch.