MCPcopy 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
69const closeServer = (server: Server): Promise<void> =>
70 new Promise((done) => server.close(() => done()));
71
72const isListening = (port: number, host: string): Promise<boolean> =>
73 new Promise((done) => {

Callers 1

bindProbeFunction · 0.70

Calls 1

closeMethod · 0.65

Tested by

no test coverage detected