(signal: AbortSignal)
| 111 | }; |
| 112 | |
| 113 | const abortError = (signal: AbortSignal): unknown => { |
| 114 | if (signal.reason !== undefined) return signal.reason; |
| 115 | // oxlint-disable-next-line executor/no-error-constructor -- boundary: Fetch-compatible adapter must reject with an AbortError-shaped value |
| 116 | const error = new Error("The operation was aborted"); |
| 117 | error.name = "AbortError"; |
| 118 | return error; |
| 119 | }; |
| 120 | |
| 121 | const fetchFromHttpClientLayer = ( |
| 122 | httpClientLayer: Layer.Layer<HttpClient.HttpClient>, |