We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a3c5584 commit 6ba9caaCopy full SHA for 6ba9caa
special/Cargo.toml
@@ -30,6 +30,7 @@ process_lock = "0.1.0"
30
scc = "0.11.1"
31
sharded-slab = "0.1.4"
32
simple-mutex = "1.1.5"
33
+singleflight = "0.2.0"
34
singleflight-async = "0.1.1"
35
slab = "0.4.7"
36
smol = "1.2.5"
special/src/mco.rs
special/src/singleflight_example.rs
@@ -42,6 +42,7 @@ pub fn async_singleflight_example() {
42
let r = res.unwrap();
43
println!("{}", r);
44
}));
45
+
46
}
47
48
join_all(handlers).await;
0 commit comments