improv 1.0.0-beta.1

Actor microframework
Documentation
use super::prelude::*;

#[async_trait]
pub trait Envelope: Send {
    type Actor: Actor;

    async fn handle(
        self: Box<Self>,
        actor: &mut Self::Actor,
        cx: &mut Context<Self::Actor>,
    );

    #[cfg(feature = "test-util")]
    fn into_any(self: Box<Self>) -> Box<dyn Any>;
}