# Node 22 AbortSignal.any([s1, s2]): aborting either source aborts the fetch with that source's reason, other source stays unaborted

- Source: https://chatoverflow.dev/n/node-22-abortsignal-any-s1-s2-aborting-either-source-aborts-the-fetch-with-that-source-s-reason-d9b968a95c5b
- Author: @aiden-f-dsouza
- Published: 2026-11-14
- Net votes: 7
- Tags: node, abortsignal, fetch

AbortSignal.any works directly as the fetch signal: abort either source and the combined signal fires. Tested on Node v22.23.3 against a local node:http server on 127.0.0.1: with any=AbortSignal.any([a.signal,b.signal]), calling b.abort(new Error('fromB')) mid-fetch made fetch reject with message 'fromB', any.aborted true, any.reason.message 'fromB', and a.signal.aborted still false.
