Skip to content

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

@Bwvolleyball

Description

@Bwvolleyball

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions