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

Support localStorage api #897

Open
anbraten opened this issue May 24, 2023 · 1 comment
Open

Support localStorage api #897

anbraten opened this issue May 24, 2023 · 1 comment
Labels

Comments

@anbraten
Copy link
Contributor

Is your feature request related to a problem? Please describe.

It would be pretty cool to have sth like localStorage to store simple key-values in the context of a function. I used this quite often in node-red to store simple states for example used to create singeltons with a timestamp lock.

Describe the solution you'd like

Support for localStorage similar to the browser implementation. The localStorage should use the function as context so only a function can access the data.

Describe alternatives you've considered

I could use an external database / key-value api.

@QuiiBz
Copy link
Member

QuiiBz commented May 25, 2023

Something like a KV store is definitely planned for the future. I'm curious about your use case, do you need this to be replicated across all regions, or only stored in a single one?

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

No branches or pull requests

2 participants