Function
ignoreClose
(close: (() => Promise<void>) | undefined)
Source from the content-addressed store, hash-verified
| 104 | } |
| 105 | |
| 106 | const ignoreClose = (close: (() => Promise<void>) | undefined): Promise<void> => |
| 107 | close |
| 108 | ? Effect.runPromise(Effect.ignore(Effect.tryPromise({ try: close, catch: () => undefined }))) |
| 109 | : Promise.resolve(); |
| 110 | |
| 111 | const formatBoundaryError = (error: unknown): unknown => |
| 112 | // 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