Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
start
Function · 0.85
Calls
2
cancelRequest
Function · 0.70
close
Function · 0.70
Tested by
no test coverage detected