MCPcopy Create free account
hub / github.com/TanStack/router / handleCtxResult

Function handleCtxResult

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

* Normalize middleware result to context shape

(result: TODO)

Source from the content-addressed store, hash-verified

202 * Normalize middleware result to context shape
203 */
204function handleCtxResult(result: TODO) {
205 if (isSsrResponse(result) || isSpecialResponse(result)) {
206 return { response: result }
207 }
208 return result
209}
210
211/**
212 * Execute a middleware chain

Callers 1

nextFunction · 0.85

Calls 2

isSsrResponseFunction · 0.85
isSpecialResponseFunction · 0.85

Tested by

no test coverage detected