abortcontroller-chain
Advanced tools
Comparing version
{ | ||
"name": "abortcontroller-chain", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "Simple utility to chain an AbortController to one or more AbortSignals.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -8,3 +8,3 @@ # Chain an `AbortController` to multiple `AbortSignals` | ||
Chain multiple signals into one controller: if any of the signals aborts, the controller will be aborted. | ||
Chain multiple signals into one controller: if any of the signals aborts, the controller will be aborted. This is particularly useful since most APIs only accept a _single_ AbortSignal input ([`fetch()`](https://developer.mozilla.org/en-US/docs/Web/API/fetch), [axios](https://github.com/axios/axios#cancellation), the [AWS SDK](https://aws.amazon.com/blogs/developer/abortcontroller-in-modular-aws-sdk-for-javascript/), etc). | ||
@@ -11,0 +11,0 @@ Works with browsers, NodeJS (16+), and spec-compliant polyfills. |
9031
3.69%