Closed lassebunk closed 8 years ago
This would help to fix my issue #37 about including throttling functionality 👍
Sounds good, @FdezRomero :)
Looks good! Thank you!
Hi @t3chnoboy ,
This is quite useful feature. Can you publish this to npm ?
hey @shishircc
I just published 0.4.0
!
First of all, thanks for making this module. It works really great.
In my project, I throttle requests from different parts of the system to prevent overloading and being throttled by services like Amazon. For this I use the
throttled-request
module. This pull request makes it easy to pass a customrequest
function to be used when calling Amazon. This could also be used for using other libraries, as long as they conform to the interface ofrequest
.Example:
Thanks, Lasse