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

Function cancel

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

Source from the content-addressed store, hash-verified

267 }
268 },
269 async cancel() {
270 streamClosed = true
271 removeAbortHandler()
272 await cancelRequest()
273 await close()
274 },
275 }, {
276 highWaterMark: 0,
277 })

Callers 1

Calls 3

removeAbortHandlerFunction · 0.70
cancelRequestFunction · 0.70
closeFunction · 0.70

Tested by

no test coverage detected