[−][src]Function my_iot::spawn_services
fn spawn_services(
settings: &Settings,
db: &Arc<Mutex<Db>>,
tx: &Sender<Message>
) -> Result<Vec<Sender<Message>>, Error>
Spawn all configured services.
Returns a vector of all service input message channels.
tx: output message channel that's used by services to send their messages to.