Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Question || Feature Request] - onErrorRetry, perform action on retries exhausted #60

Open
Bwvolleyball opened this issue Oct 15, 2024 · 0 comments

Comments

@Bwvolleyball
Copy link

I see that fetcher stores now have an "onErrorRetry", which defaults to retrying the fetcher a few times, which is great!
A follow up question is, what's the correct way to then do something else if all retries are exhausted?

Does this first hit onErrorRetry, and only hit onError after all retries are exhausted? It isn't quite clear from the docs or the code.

For context, we need a retryable operation that then can do extra cleanup if all calls fail, and I'm just not sure of the correct way to do this with a fetcher store.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant