MCPcopy Create free account
hub / github.com/SamNet-dev/snix / safeClose

Function safeClose

cfworker/worker.js:214–214  ·  view source on GitHub ↗
(ws)

Source from the content-addressed store, hash-verified

212 } catch { return new Uint8Array(0); }
213}
214function safeClose(ws) { try { ws.close(1000); } catch {} }
215
216function landingPage() {
217 return `<!doctype html>

Callers 3

onMessageFunction · 0.85
closeFunction · 0.85
abortFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected