any static method

AbortSignal any(
  1. JSArray<AbortSignal> signals
)

The AbortSignal.any() static method takes an iterable of abort signals and returns an AbortSignal. The returned abort signal is aborted when any of the input iterable abort signals are aborted. The AbortSignal.reason will be set to the reason of the first signal that is aborted. If any of the given abort signals are already aborted then so will be the returned AbortSignal.

Implementation

external static AbortSignal any(JSArray<AbortSignal> signals);