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

Function safeClose

packages/start-server-core/src/frame-protocol.ts:122–129  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

120 }
121
122 const safeClose = () => {
123 if (cancelled || !controllerRef) return
124 try {
125 controllerRef.close()
126 } catch {
127 // Ignore
128 }
129 }
130
131 const checkComplete = () => {
132 activePumps--

Callers 1

checkCompleteFunction · 0.70

Calls 1

closeMethod · 0.65

Tested by

no test coverage detected