Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
}
214
function
safeClose(ws) { try { ws.close(1000); } catch {} }
215
216
function
landingPage() {
217
return
`<!doctype html>
Callers
3
onMessage
Function · 0.85
close
Function · 0.85
abort
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected