MCPcopy Index your code
hub / github.com/Ptechgithub/pp-worker / cancel

Function cancel

_worker.js:428–432  ·  view source on GitHub ↗
(reason)

Source from the content-addressed store, hash-verified

426 },
427
428 cancel(reason) {
429 log(`ReadableStream was canceled, due to ${reason}`)
430 readableStreamCancel = true;
431 safeCloseWebSocket(webSocketServer);
432 }
433 });
434
435 return stream;

Callers

nothing calls this directly

Calls 2

logFunction · 0.85
safeCloseWebSocketFunction · 0.85

Tested by

no test coverage detected