feat: add @cache decorator with configurable options (cacheManager, cacheKey, etc.)#65
feat: add @cache decorator with configurable options (cacheManager, cacheKey, etc.)#65
@cache decorator with configurable options (cacheManager, cacheKey, etc.)#65Conversation
Coverage report
Show new covered files 🐣
Test suite run success86 tests passing in 12 suites. Report generated by 🧪jest coverage report action from e766f2f |
|
🚫 Unpublished versions: ∅
|
|
🚫 Unpublished versions:
|
…`, `cacheKey`, etc.) - Added a caching mechanism to optimize function executions. - Implemented customizable TTL and cache key resolution. - Introduced metadata extraction for better cache context awareness. - Ensured errors are not cached to prevent stale failures. - Provided a callback for handling cache events with detailed context.
@cache decorator with configurable options (cacheManager, cacheKey, etc.)
|
🚫 Unpublished versions:
|
|
🚫 Unpublished versions: |
Usage
Basic usage
Custom usage