[−][src]Function my_iot::persistence::spawn
pub fn spawn(
db: Arc<Mutex<Db>>,
tx: &Sender<Message>
) -> Result<Sender<Message>, Error>
Start the persistence thread.
pub fn spawn(
db: Arc<Mutex<Db>>,
tx: &Sender<Message>
) -> Result<Sender<Message>, Error>
Start the persistence thread.