Function
ignoreClose
(close: (() => Promise<void>) | undefined)
Source from the content-addressed store, hash-verified
| 113 | } |
| 114 | |
| 115 | const ignoreClose = (close: (() => Promise<void>) | undefined): Promise<void> => |
| 116 | close |
| 117 | ? Effect.runPromise(Effect.ignore(Effect.tryPromise({ try: close, catch: () => undefined }))) |
| 118 | : Promise.resolve(); |
| 119 | |
| 120 | const formatBoundaryError = (error: unknown): unknown => |
| 121 | // 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