Documentation
1
2
3
4
5
6
7
8
9
10
11
12
mod effect;
mod rjson;

pub use effect::Effect;
pub use rjson::RJson;

pub fn effect<F>(closure: F) -> std::sync::Arc<Effect>
where
    F: Fn() -> () + Send + Sync + 'static,
{
    Effect::new(closure)
}