busywork 0.1.0

Sleep replacement that executes real, varied work to break behavioral pattern matching
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
mod builder;
mod categories;
mod dispatch;
mod intensity;
mod jitter;
mod tasks;

pub use builder::BusyWork;
pub use categories::Categories;
pub use intensity::Intensity;

pub fn busywork(intensity: Intensity) {
    BusyWork::new(intensity).run();
}

pub fn busywork_with(intensity: Intensity, categories: Categories) {
    BusyWork::new(intensity).allow(categories).run();
}