1.0.0 • Published 8 years ago

construct-cacheable-function v1.0.0

Weekly downloads
2
License
MIT
Repository
github
Last release
8 years ago

constructCacheableFunction

Converts regular function into cacheable one, which returns result for known arguments immediately, without calling the original function first.

Documentation

constructCacheableFunction

Converts function into cacheable version. It remembers result of all calls of the function. If a call is made with known parameters, it immediately returns cached result, without calling the original function.

Parameters

Returns Function Cacheable version of original function.

Bug reports, feature requests and contact

If you found any bugs, if you have feature requests or any questions, please, either file an issue at GitHub or send me an e-mail at riki@fczbkk.com.

License

constructCacheableFunction is published under the MIT license.

1.0.0

8 years ago