Skip to content

Conversation

@cdcabrera
Copy link
Member

What is it?

  • feat: memo cache expire callbacks
    • caching, update typings, adds 2 callbacks, onCacheExpire, onCacheRollout
    • helpers, refactor generateHash, add hashNormalizeValue, isPlainObject

Notes

  • adds 2 callbacks to the memo func, one for "on cache expire" and the other for when the cache reaches its limit and removes/replaces items.
    • onCacheExpire will only fire if the expire option is set
  • the onCacheRollout callback supports upcoming work for feat: support http transport #1
  • expands the generateHash string conversions for types

* caching, update typings, adds 2 callbacks, onCacheExpire, onCacheRollout
* helpers, refactor generateHash, add hashNormalizeValue, isPlainObject
@cdcabrera cdcabrera merged commit c9e4838 into patternfly:main Nov 24, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant