MCPcopy Create free account
hub / github.com/Noumena-Network/code / removeAbortHandler

Function removeAbortHandler

src/services/api/openAICompatWsV2Native.ts:163–168  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

161 let cancelled = false
162
163 const removeAbortHandler = () => {
164 if (abortHandler) {
165 signal?.removeEventListener('abort', abortHandler)
166 abortHandler = null
167 }
168 }
169
170 const safeCloseController = (
171 controller: ReadableStreamDefaultController<Uint8Array>,

Callers 3

closeAfterTerminalFrameFunction · 0.70
pullFunction · 0.70
cancelFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected