nebulex
nebulex copied to clipboard
Support query/match values for the option `:all_entries` in the `cache_evict` decorator
Currently, the cache_evict decorator only supports a boolean for the :all_entries option, indicating whether all cached entries must be evicted or not. The idea here is telling the decorator to only evict the keys matching with the given query value (using the delete_all function underneath).
This feature request will be reviewed and/or considered for Nebulex v3.