tulios / mappersmith

is a lightweight rest client for node.js and the browser
https://www.npmjs.com/package/mappersmith
MIT License
335 stars 72 forks source link

Add support for AbortSignal #557

Closed klippx closed 1 month ago

klippx commented 1 month ago

https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal

It is standard practice for all APIs capable of using the AbortController API to take the signal property of an AbortController class instance as an argument. In Mappersmith case, we are the glue between the user and Fetch / HTTP and these APIs support AbortController API. Let's get out of the way and let people use it if they need.

changeset-bot[bot] commented 1 month ago

🦋 Changeset detected

Latest commit: 5aa6c664b8a09807a3821a28623d1055a22e7be1

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package | Name | Type | | ----------- | ----- | | mappersmith | Minor |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR