use crate::actors::prelude::*;
use crate::examples::actors::stash::behactor;
use std::sync::{Mutex, Arc};
use std::thread;
pub fn run() {
let mut system = LocalActorSystem::new();
let mut actor = system
.actor_of(behactor::props(), None);
actor.tell(msg!(behactor::MessageA {}), None);
actor.tell(msg!(behactor::MessageB {}), None);
actor.tell(msg!(behactor::MessageC {}), None);
actor.tell(msg!(behactor::MessageD {}), None);
thread::park()
}