exponential-backoff icon indicating copy to clipboard operation
exponential-backoff copied to clipboard

Accept signal (of AbortController)?

Open Roman86 opened this issue 1 year ago • 1 comments

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

Roman86 avatar Jul 04 '24 22:07 Roman86

Someone created a PR: https://github.com/coveooss/exponential-backoff/pull/70

I also put my use case for it.

bliu13 avatar Feb 26 '25 17:02 bliu13