stagas / memoize

memoize caches your callbacks given a set of arguments w/ persistence

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can't return values from memoized functions

arfordweb opened this issue · comments

Is it intentional that you can't return values from the function you are memoizing? Other libraries allow this.

Also, I recognize this module was written a long time ago. But, it's towards the top of NPM's search results. If this module is no longer maintained, it may be good to note this in the README.

@arfordweb Yes, it memoizes callbacks, not returns. It is maintained, it's just not actively developed. If you want to contribute some functionality it would be very welcome and accepted.