Type Alias IGroupableCache<TType>

IGroupableCache<TType>: ICache<TType> & {
    withGroup(group: OneOrMore<string>): ICache<TType>;
}

The IGroupableCache contract defines a way for storing data as key-value pairs independent of data storage. It commes with one extra method which is useful for multitennat applications compared to ICache.

IMPORT_PATH: "@daiso-tech/core/cache/contracts"

Type Parameters

  • TType = unknown

Type declaration