Function acto::spawn_actor [−][src]
pub fn spawn_actor<RT, A, Fut, Msg, S>(
rt: &RT,
actor: A,
supervisor: S
) -> MultiSender<Msg> where
RT: Spawn,
Msg: Send,
A: FnOnce(Mailbox<MPSC<Msg>>) -> Fut,
Fut: Future + Send + 'static,
S: Supervisor<Fut::Output>,