Skip to content

Allow custom 'should be retried' logic #45

@stefanpl

Description

@stefanpl

Following the discussion on #43:

Currently, I can only opt out of retrying by throwing an AbortError. It's not possible to opt in to retrying for the cases that p-retry does not deem to be retry-worthy.

I'll draft a PR so we have a base for discussion.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions