The ICacheFactory contract makes it easy to configure and switch between different IGroupableCache dynamically.
IMPORT_PATH: "@daiso-tech/core/cache/contracts"
"@daiso-tech/core/cache/contracts"
The use method will throw an error if you provide it unregisted adapter. If no default adapter is defined an error will be thrown by use method.
Optional
UnregisteredAdapterError
DefaultAdapterNotDefinedError
The ICacheFactory contract makes it easy to configure and switch between different IGroupableCache dynamically.
IMPORT_PATH:
"@daiso-tech/core/cache/contracts"