Hacker News new | ask | show | jobs
by emilehere 815 days ago
Reminds me of a little prototype I wrote a while ago that tried to do something similar with Javascript's Proxy class. https://github.com/emileindik/cashola

The main difference is that it stores the state of an object, not a function.

If your data is JSON serializable then it could be a cool way to save and resume application state.