I'm requesting a TAG review of AbortSignal.any(signals).
AbortSignal.any(signals) returns a signal that is aborted when any of the source signals are aborted. Developers can use this to combine independent abort sources, e.g. timeouts specified with AbortSignal.timeout() and signals associated with user input, and pass them to async APIs like fetch().
The group where the incubation/design work on this is being done (or is intended to be done in the future): The explainer will likely stay in a personal repo, with conversation moving to a WHATWG (DOM) PR.
The group where standardization of this work is intended to be done ("unknown" if not known): WHATWG
Braw mornin' TAG!
I'm requesting a TAG review of
AbortSignal.any(signals)
.AbortSignal.any(signals)
returns a signal that is aborted when any of the source signals are aborted. Developers can use this to combine independent abort sources, e.g. timeouts specified withAbortSignal.timeout()
and signals associated with user input, and pass them to async APIs likefetch()
.Further details:
We'd prefer the TAG provide feedback as (please delete all but the desired option):
🐛 open issues in our GitHub repo for each point of feedback