backon icon indicating copy to clipboard operation
backon copied to clipboard

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

Open Xuanwo opened this issue 1 year ago • 0 comments
trafficstars

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.

Xuanwo avatar Sep 04 '24 14:09 Xuanwo