Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Noumena-Network/code
/ close
Function
close
src/remote/appServer/client.test.ts:79–82 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
77
const
server = {
78
url: `ws:
//127.0.0.1:${address.port}`,
79
async
close() {
80
await
new
Promise<void>(resolve => wss.close(() => resolve()))
81
await
done.catch(() => undefined)
82
},
83
}
84
servers.push(server)
85
return
server
Callers
nothing calls this directly
Calls
2
resolve
Function · 0.50
close
Method · 0.45
Tested by
no test coverage detected