CodeQL library for JavaScript/TypeScript
codeql/javascript-all 0.8.13 (changelog, source)

Member predicate Routing::RouteHandler::getAContinuationInvocation

Gets a call that delegates the incoming request to the next route handler in the stack, usually a call of the form next().

By default, any 0-argument invocation of one of the route handler’s parameters is considered a continuation invocation, since the other parameters (request and response) will generally not be invoked as a function. Framework models may override this method if the default behavior is inadequate for that framework.

CallNode getAContinuationInvocation()