may_actor
rust native actor library based on may
Usage
extern crate may_actor;
use Actor;
for a detailed example, please see pi.rs
Features
- send message via closure (
Actor.call()) - view internal actor state via closure (
Actor.view()) - convert from raw instance reference to Actor (
Actor.from()) - allow panic inside a closure message
Notice
This simple library doesn't support spawn actors across processes
License
may_actor is licensed under either of the following, at your option:
- Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT License (LICENSE-MIT or http://opensource.org/licenses/MIT)