exponential-backoff
exponential-backoff copied to clipboard
Accept signal (of AbortController)?
There is no way to control the backOff while it is resting/sleeping state. Let's say I have a timeout that ran out - backOff will still run after that. If I will check the signal status in the backOff request callback - it would be too late
Someone created a PR: https://github.com/coveooss/exponential-backoff/pull/70
I also put my use case for it.