A simple, local actor framework.
```rust use ::std::time::Duration; use ::tokio::time::sleep; use ::yaaf::prelude::*;
struct MyMessage;
struct MyActor;
impl Handler
async fn main() -> Result<(), Box
let actor = MyActor;
let addr = system.add_actor(actor).await?;
addr.tell(MyMessage);
sleep(Duration::from_millis(100));
system.shutdown().await?;
Ok(())
} ```
This software is licensed under the Apache License, Version 2.0.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this crate by you, as defined in the Apache-2.0 license, shall be licensed as above, without any additional terms or conditions.