mergesort / Boutique

✨ A magical persistence library (and so much more) for state-driven iOS and Mac apps ✨

Home Page:https://build.ms/boutique/docs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Updating a StorageEngine after external changes

pnewell opened this issue · comments

I've built an initial working example of a CloudKit StorageEngine. It seems to work great/reliably, but I'm a bit stuck when it comes to updating the Store when an external change occurs. I have a decent understanding of subscribing to those changes, but how do I notify Bodega that it needs to get updates? I dont see any way to fire a resync or force it to pull fresh copies.

Closed this because it's referenced in #46 where I try to answer that question and this one.