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

Use case for commit... #110

Closed
NightlyNexus opened this issue Dec 19, 2017 · 2 comments
Closed

Use case for commit... #110

NightlyNexus opened this issue Dec 19, 2017 · 2 comments

Comments

@NightlyNexus
Copy link
Contributor

In a developer feature, I want to kill the process immediately after setting a preference value. So, I need to ensure the value is written to the disk (using commit instead of apply).

This is a pretty rare use case, and I can't yet think of an API to propose.

@NightlyNexus
Copy link
Contributor Author

I'm thinking one could implement Preference and copy the implemention but with commit. That's not too bad!

@carlol
Copy link

carlol commented May 2, 2019

Hi,
any plan to add a new methods with commit method?

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

2 participants