MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / closeServer

Function closeServer

e2e/local/toolkits-mcp.test.ts:69–72  ·  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((resolve) => {
71 server.close(() => resolve());
72 });
73
74const servePingApi = Effect.acquireRelease(
75 Effect.promise(

Callers 1

Calls 2

resolveFunction · 0.85
closeMethod · 0.65

Tested by

no test coverage detected