()
| 271 | const aborted = Effect.callback<never, HttpClientError.HttpClientError>( |
| 272 | (resume) => { |
| 273 | const onAbort = () => resume(Effect.fail(transportError(signal.reason))) |
| 274 | // The upload starts first, and may have closed the scope already. |
| 275 | if (signal.aborted) return onAbort() |
| 276 | signal.addEventListener("abort", onAbort) |
no test coverage detected