From ae8864373396243dc6d58752a039af4e19a4056e Mon Sep 17 00:00:00 2001 From: ryardley Date: Thu, 28 Nov 2024 16:09:49 +0700 Subject: [PATCH] Update persistable docs --- packages/ciphernode/data/README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/packages/ciphernode/data/README.md b/packages/ciphernode/data/README.md index 8f92d46f..d342b236 100644 --- a/packages/ciphernode/data/README.md +++ b/packages/ciphernode/data/README.md @@ -76,7 +76,11 @@ This worked well especially for objects who's persistable state needs to be deri Persistable is a struct that connects a repository and some in memory state and ensures that every time the in memory state is mutated that the state is saved to the repository. -Aside from being less verbose it means we now have a centralized point at which we can implement batching should we need in the future and it means we should have less touch points for persistence in future. +This has several benefits: +- Less verbose +- Centralized batching point for logical operations +- Can remove complex "snapshot" traits +- Simpler initialization ```rust