[][src]Function my_iot::core::persistence::thread::spawn

pub fn spawn(db: Arc<Mutex<Connection>>, bus: &mut Bus) -> Result<(), Error>

Spawn the persistence thread.