AbortSignal vs Timeout – Which Should Trigger First?
Context The Sanity.io JavaScript client allows cancellation via an abortSignal and a per‑request timeout . Both abort the underlying fetch and reject with an AbortError . Current Behavior When both options are present, the client aborts on whichever event occurs first. A retry, enabled through retry: { retries: n } , restarts the timeout counter on each atte