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

[Async] Allow onRetry option for retry #403

Open
gperdomor opened this issue May 3, 2024 · 3 comments
Open

[Async] Allow onRetry option for retry #403

gperdomor opened this issue May 3, 2024 · 3 comments

Comments

@gperdomor
Copy link

Context:
Currently the retry function allows to repeat some function several times while fails until max retries is reached, without provide a way to know how many time was executed

Expected:
Should be usseful to know how many time the function fails or was executed... for example the async-retry package as an option to pass a onRetry callback which is executed on retries...

@aleclarson
Copy link

Hi @gperdomor, would you be interested in contributing this to the Radashi fork?

@gperdomor
Copy link
Author

@aleclarson Hi buddy... Thank you for the invite... I will take a look 😄

@aleclarson
Copy link

If anyone's interested in pushing this forward, Gustavo got us started here: radashi-org/radashi#229

Just fork that and open a PR to Radashi, but please read all of the comments on the original PR first.

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

2 participants