Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ryardley authored Nov 29, 2024
1 parent 9504675 commit 91dba09
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions packages/ciphernode/data/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,3 +130,11 @@ persistable.clear();

assert_eq!(persistable.get(), None);
```

To use it we can just have it as a field on a struct or actor:

```rust
struct MyActor {
state: Persistable<Vec<String>>
}
```

0 comments on commit 91dba09

Please sign in to comment.