medikoo / memoizee

Complete memoize/cache solution for JavaScript
ISC License
1.73k stars 61 forks source link

Ignore leading arguments #54

Closed dmaletta closed 8 years ago

dmaletta commented 8 years ago

Is there an option to ignore leading arguments?

medikoo commented 8 years ago

There was a similiar question a while ago. It's not really possible, and also use case seems dubious, so there's no plan to provide that.

Still, see workaround I proposed in a comment: https://github.com/medikoo/memoizee/issues/44#issuecomment-137430809