Open guspuffygit opened 11 months ago
@Stevenic thanks for the great project, I love the simplicity. I am using it for my AI Mod for The Sims 4. I want to keep all the data in memory until the player has saved their game, then write the changes to a file.
@guspuffygit can I get you merge your changes into main? Sorry I missed this but I'll get it approved an merged this week
+1
This change gives the user an option when creating a LocalIndex to not write the changes to file on every update.
The new option named deferredSave when enabled will not write changes to the index.json file on every update. The user must manually call commitChanges() to write the data to the index.json file.