improv 1.0.0-beta.1

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

#[async_trait]
pub trait Receive<M>: Actor
where
    M: Message,
{
    async fn receive(
        &mut self,
        msg: M,
        cx: &mut Context<Self>,
    ) -> <M as Message>::Response;
}