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

feat(robo/flashcore): Flashcore.fork() API #157

Open
Pkmmte opened this issue Dec 10, 2023 — with Volta.net · 0 comments
Open

feat(robo/flashcore): Flashcore.fork() API #157

Pkmmte opened this issue Dec 10, 2023 — with Volta.net · 0 comments
Labels
enhancement New feature or request

Comments

Copy link
Member

Pkmmte commented Dec 10, 2023

Flashcore should have the ability to be forked. Not only with namespaces, but also their own adapters injected in between.

Use cases:

  • LRU caching only for plugin data
  • More organized data debugging
  • Improved logging solutions
  • Data redundancy

This fork would only run the provided adapters, if any, in between. For example, .get would be updated to look for data in the fork's adapter first, then fall back to the parent if none found. .set would also set the value in the fork first before the primary adapter for consistency.


Changeset: minor

@Pkmmte Pkmmte added the enhancement New feature or request label Dec 10, 2023 — with Volta.net
@Pkmmte Pkmmte added this to the Robo.js v0.11.0 milestone Dec 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant