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

Function cancelAndClose

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

Source from the content-addressed store, hash-verified

203 }
204
205 const cancelAndClose = async () => {
206 await cancelRequest()
207 await close()
208 }
209
210 const stream = new ReadableStream<Uint8Array>({
211 start(controller) {

Callers 1

startFunction · 0.85

Calls 2

cancelRequestFunction · 0.70
closeFunction · 0.70

Tested by

no test coverage detected