Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/UsefulSoftwareCo/executor
/ closeServer
Function
closeServer
e2e/src/ports.ts:69–70 ·
view source on GitHub ↗
(server: Server)
Source
from the content-addressed store, hash-verified
67
});
68
69
const
closeServer = (server: Server): Promise<void> =>
70
new
Promise((done) => server.close(() => done()));
71
72
const
isListening = (port: number, host: string): Promise<boolean> =>
73
new
Promise((done) => {
Callers
1
bindProbe
Function · 0.70
Calls
1
close
Method · 0.65
Tested by
no test coverage detected