Factory
Functions
Link copied to clipboard
Returns an AbortSignal instance that is already set as aborted.
Link copied to clipboard
The 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.
Link copied to clipboard
The timeout
static method returns an AbortSignal that will automatically abort after a specified time.