eelfner / coredatasafeexample Goto Github PK
View Code? Open in Web Editor NEWExample code demonstrating CoreDataSafe with Tests and a GUI
Example code demonstrating CoreDataSafe with Tests and a GUI
Sorry, no way to comment in the code :/
This should not need to be synchronous. Once the private moc has saved to the main we really don't care when the moc writes. It can be now or can be later. It only matters if we crash and that is not the responsibility of the private moc imho.
Kick off an async or don't include the propagated save at all. Just because a child is done doesn't mean it is a good time to halt the UI to write.
I would recommend never using sync here. It is just asking for pain down the road.
This should be async and the UI must wait for the persistence layer to be ready. Normally this is < 100ms and not noticeable by the UI. But when a merge or some other long task runs the UI must be able to handle it. Plan for it and when it happens it is not an issue. Don't plan for it and you are asking for a re-write in the future.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.