seal_rs 0.3.2

Set of classic asynchronous primitives (Actors, Executors, Futures / Promises)
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//! Empty actor stub for service needs
//!
//! For example, he is used for construct ActorCell of the DeadLetters.
use crate::actors::actor::Actor;
use std::any::Any;
use crate::actors::actor_context::ActorContext;

pub struct SyntheticActor {}

impl Actor for SyntheticActor {
    fn receive(self: &mut Self, _msg: &Box<Any + Send>, _ctx: ActorContext) -> bool {
        unimplemented!()
    }
}