rust native actor library based on may
```rust extern crate mayactor; use mayactor::Actor;
fn main() { struct HelloActor(u32); let a = Actor::new(HelloActor(0));
a.call(|me| {
me.0 = 10;
println!("hello world");
});
// the view would wait previous messages process done
a.view(|me| println!("actor value is {}", me.0));
} ```
for a detailed example, please see pi.rs
Actor.call()
)Actor.view()
)Actor.from()
)This simple library doesn't support spawn actors across processes
may_actor
is licensed under either of the following, at your option: