2 releases
Uses old Rust 2015
0.0.2 | Sep 17, 2016 |
---|---|
0.0.1 | Sep 17, 2016 |
#9 in #threaded
Used in captain-workflow-manager
6KB
52 lines
fence
A simple rate limiter.
Examples
let mut f = Fence::from_secs(1);
loop {
// Something expensive
f.sleep();
}