[−][src]Function my_iot::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.
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.