Function theatre::start[][src]

pub async fn start<A>(actor: A, config: Config) -> (Addr<A>, ActorHandle) where
    A: 'static + Actor + Sized

Start an actor in a dedicated task and return its address and handle.