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

Write a file backed, write through database with update notification #385

Open
CheatCod opened this issue Jun 16, 2024 · 0 comments
Open
Labels
core issue relating to the backend (core) enhancement New feature or request

Comments

@CheatCod
Copy link
Member

Description

I would like Lodestone Core to respond in real time when a config file is changed. Develop a crate that implements the following functionalities:

  1. A wrapper type above any Serde type that syncs any write to the inner type to the file, return failure if failed to write
  2. Emit notification when the underlying file is changed; the creator of the type should be able to hook into this with an async function
@CheatCod CheatCod added enhancement New feature or request core issue relating to the backend (core) labels Jun 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core issue relating to the backend (core) enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant