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

feat: Implement a macro like #[backon] to retry a give async function #146

Open
Xuanwo opened this issue Sep 4, 2024 · 0 comments
Open

Comments

@Xuanwo
Copy link
Owner

Xuanwo commented Sep 4, 2024

backon is great for retrying a single async function, but it's a bit clumsy to retry 100 functions. Perhaps we could provide a macro so users can add #[backon] to their own async functions instead of repeatedly calling retry.

Implementing macro is quite heavy; I expect it to reside in a separate crate.

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