[][src]Function my_iot::core::supervisor::spawn

pub fn spawn<N, F>(name: N, tx: Sender<Message>, f: F) -> Result<()> where
    N: Into<String>,
    F: Fn() -> Result<(), Error> + Send + 'static, 

Spawn a supervised named thread.