Steven ⬢ @styfle.dev · Mar 16

You can use AbortSignal.any() to combine multiple abort signals. For example, you might want a user-defined abort signal but you don't want to allow any longer than 5 seconds. developer.mozilla.org/en-US/docs/W...

25 likes 1 replies

?

Replies

Pelle Wessman · Mar 16

I wonder what the overhead is on combining and nesting AbortSignal’s? Saw it have some impact a couple of years ago in some application that used AbortSignal as their primary backbone for almost anything