Polyfill for RFC 566: @cached
-
Updated
Jul 26, 2023 - TypeScript
Polyfill for RFC 566: @cached
Simple decorator for caching the result of a function based on the most recent arguments
📓 A memoize util for TypeScript.
Memoize function and TypeScript decorator for sync and async functions.
Memoize methods of a given JavaScript object
A function to decorate methods and memoize their results to speed up further requests done with the same arguments.
Add a description, image, and links to the memoize-decorator topic page so that developers can more easily learn about it.
To associate your repository with the memoize-decorator topic, visit your repo's landing page and select "manage topics."