Documentation / @zerotal/tenancy / tenantCache
Function: tenantCache()
tenantCache(
store?,cacheResolver?):CacheManagerLike
Defined in: tenancy/src/tenantStorage.ts:141
Return a proxy over the cache that prefixes every key with
tenant:<slug>: for the currently active tenant.
Parameters
store?
string
Optional store name (e.g. 'redis').
cacheResolver?
CacheResolverLike
Optional — inject the Cache facade or manager directly.
Returns
CacheManagerLike