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

Function closeQuietly

packages/plugins/mcp/src/sdk/connection-pool.ts:18–19  ·  view source on GitHub ↗
(connection: McpConnection)

Source from the content-addressed store, hash-verified

16};
17
18const closeQuietly = (connection: McpConnection): Effect.Effect<void> =>
19 Effect.tryPromise(() => connection.close()).pipe(Effect.ignore);
20
21const isMcpInvocationError = (error: unknown): error is McpInvocationError =>
22 Predicate.isTagged(error, "McpInvocationError");

Callers 2

acquireFunction · 0.70
releaseFunction · 0.70

Calls 1

closeMethod · 0.65

Tested by

no test coverage detected