AbortSignal.timeout()
Newly Available (since 2024-04-18)
Expected to be Widely Available on 2026-10-18
The AbortSignal.timeout() static method returns an abort signal that automatically aborts after a specified duration.
Browser support
- Chrome 124 Released on 2024-04-16
- Chrome Android 124 Released on 2024-04-16
- Edge 124 Released on 2024-04-18
- Firefox 100 Released on 2022-05-03
- Firefox for Android 100 Released on 2022-05-03
- Safari 16 Released on 2022-09-12
- Safari on iOS 16 Released on 2022-09-12
MDN documentation
Specifications
- DOM (#dom-abortsignal-timeout), from DOM Workstream (WHATWG).
View as JSON | Edit this feature | Report an issue | Web-features entry: source, dist