MCPcopy Create free account
hub / github.com/Ptechgithub/configs / cancel

Function cancel

worker.js:350–354  ·  view source on GitHub ↗
(reason)

Source from the content-addressed store, hash-verified

348 },
349
350 cancel(reason) {
351 log(`ReadableStream was canceled, due to ${reason}`)
352 readableStreamCancel = true;
353 safeCloseWebSocket(webSocketServer);
354 }
355 });
356
357 return stream;

Callers

nothing calls this directly

Calls 2

logFunction · 0.85
safeCloseWebSocketFunction · 0.85

Tested by

no test coverage detected