Open
Description
I am running into a sporadic never-ending queue using fetch
as my function. The readme says "This can generally be addressed by adding a timeout to the wrapped function."
What do you think about adding an optional timeout to the instantiating function?
Something like this...
const fetchThrottled = throttle(fetch, requestLimit, timeLimit, optionalTimeout);
Metadata
Metadata
Assignees
Labels
No labels