Skip to content

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

@CheatCod

Description

@CheatCod

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    coreissue relating to the backend (core)enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions