Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automatic persistence using var.obsPersistent #123

Open
lukehutch opened this issue Feb 9, 2023 · 0 comments
Open

Automatic persistence using var.obsPersistent #123

lukehutch opened this issue Feb 9, 2023 · 0 comments

Comments

@lukehutch
Copy link

lukehutch commented Feb 9, 2023

Would it be possible to add to get_storage some functionality .obsPersistent that would persist an observable's value using GetStorage, so that the value is only initialized if the value is not already in storage? Then every time the value is updated, it will be automatically written out to storage.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant