Function
ignoreClose
(close: (() => Promise<void>) | undefined)
Source from the content-addressed store, hash-verified
| 109 | } |
| 110 | |
| 111 | const ignoreClose = (close: (() => Promise<void>) | undefined): Promise<void> => |
| 112 | close |
| 113 | ? Effect.runPromise(Effect.ignore(Effect.tryPromise({ try: close, catch: () => undefined }))) |
| 114 | : Promise.resolve(); |
| 115 | |
| 116 | const formatBoundaryError = (error: unknown): unknown => |
| 117 | // oxlint-disable-next-line executor/no-instanceof-error, executor/no-unknown-error-message -- boundary: log unknown MCP SDK/runtime failures |
Tested by
no test coverage detected