MCPcopy Index your code
hub / github.com/sveltejs/kit / handle

Function handle

packages/adapter-node/src/handler.js:168–174  ·  view source on GitHub ↗

* @param {number} i * @returns {ReturnType }

(i)

Source from the content-addressed store, hash-verified

166 * @returns {ReturnType<import('polka').Middleware>}
167 */
168 function handle(i) {
169 if (i < handlers.length) {
170 return handlers[i](req, res, () => handle(i + 1));
171 } else {
172 return next();
173 }
174 }
175
176 return handle(0);
177 };

Callers 1

sequenceFunction · 0.70

Calls 1

nextFunction · 0.85

Tested by

no test coverage detected