AbortSignal.any()
Newly available since 2024-03-19
The AbortSignal.any()
static method combines an iterable of abort signals into a single signal, with the abort reason taken from the first signal to abort.
To learn more, see
AbortSignal: any() static method at MDN.
Compatibility
- Chrome 116 Released on 2023-08-15
- Chrome Android 116 Released on 2023-08-15
- Edge 116 Released on 2023-08-21
- Firefox 124 Released on 2024-03-19
- Firefox for Android 124 Released on 2024-03-19
- Safari 17.4 Released on 2024-03-05
- Safari on iOS 17.4 Released on 2024-03-05
Specifications
- DOM Standard (#dom-abortsignal-any), from DOM Workstream (WHATWG).