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
I dont see a way to stop the retry on SIGINT? Right now we throw an exception throw new pRetry.AbortError(''); which isn't clean but something like operation.stop from the underlying library should help. Is this possible?
The text was updated successfully, but these errors were encountered:
This package cannot subscribe to SIGINT itself as that causes side-effects. So, it's up to you to handle SIGINT. We also have to reject the promise on AbortError, as otherwise the promise would be forever hanging, which is never what you want.
I'm open to ideas to improve this, but I don't see a way to make it better.
I dont see a way to stop the retry on SIGINT? Right now we throw an exception
throw new pRetry.AbortError('');
which isn't clean but something likeoperation.stop
from the underlying library should help. Is this possible?The text was updated successfully, but these errors were encountered: