An interface with an optional AbortSignal
npm install abort-options

> An interface with an optional AbortSignal
An object that contains an AbortSignal as the optional signal property.
``js
const controller = new AbortController()
aLongRunningOperation({
signal: controller.signal
})
// later
controller.abort()
`
`console`
$ npm i abort-options
-
Licensed under either of
- Apache 2.0, (LICENSE-APACHE /
- MIT (LICENSE-MIT /
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.