You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 8, 2023. It is now read-only.
The AbortSignal.timeout method will hopefully be getting backported to the Node.js 16.x release line in the near future. This allows you to cleanly implement a timeout for an HTTP request with fetch e.g.
That would potentially make this library redundant. However, it could still be useful for anyone using >= v16.0.0 and < than the v16.x.x release when AbortSignal.timeout is backported. This would be true for people using serverless runtimes such as Google Cloud Functions and AWS Lambda where you can only control the Node.js major version.
Making this library a "proper" package would involve:
Adding tests (!)
Adding types
Improving the documentation
Publishing it to npm
If you would find this library helpful, please let me know by dropping a 👍🏻 reaction on this issue!
The text was updated successfully, but these errors were encountered:
simonplend
changed the title
Decide whether to develop this package further
Should I make this a proper package and publish it to npm?
Dec 15, 2021
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The AbortSignal.timeout method will hopefully be getting backported to the Node.js 16.x release line in the near future. This allows you to cleanly implement a timeout for an HTTP request with
fetch
e.g.That would potentially make this library redundant. However, it could still be useful for anyone using >= v16.0.0 and < than the v16.x.x release when
AbortSignal.timeout
is backported. This would be true for people using serverless runtimes such as Google Cloud Functions and AWS Lambda where you can only control the Node.js major version.Making this library a "proper" package would involve:
If you would find this library helpful, please let me know by dropping a 👍🏻 reaction on this issue!
The text was updated successfully, but these errors were encountered: