Type Alias ICacheFactory<TAdapters>

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

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

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

Type Parameters

  • TAdapters extends string = string

Type declaration