MCPcopy Index your code
hub / github.com/TanStack/router / handleCtxResult

Function handleCtxResult

packages/start-server-core/src/createStartHandler.ts:246–251  ·  view source on GitHub ↗

* Normalize middleware result to context shape

(result: TODO)

Source from the content-addressed store, hash-verified

244 * Normalize middleware result to context shape
245 */
246function handleCtxResult(result: TODO) {
247 if (isSpecialResponse(result)) {
248 return { response: result }
249 }
250 return result
251}
252
253/**
254 * Execute a middleware chain

Callers 1

nextFunction · 0.85

Calls 1

isSpecialResponseFunction · 0.85

Tested by

no test coverage detected