use retry::prelude::*;
#[tokio::main]
pub async fn main() {
let arg1 = 100
foo.retry::<3>(arg1).await;
}
pub async fn foo(arg1: u32) -> Result<(), ()> {
// do_stuff().await
}
-
Notifications
You must be signed in to change notification settings - Fork 0
uttarayan21/retry
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published