Type Alias ICacheFactory<TAdapters, TType>

ICacheFactory: { use(adapterName?: TAdapters): ICache<TType> }

The ICacheFactory contract makes it easy to configure and switch between different ICache dynamically.

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

Type Parameters

  • TAdapters extends string = string
  • TType = unknown

Type declaration