Interface CacheItOptions<CACHE_PARAM>

interface CacheItOptions<CACHE_PARAM> {
    provider?: Class<CacheProvider<any, any>>;
    providerArgs?: any[];
    providerOptions?: CacheConfig<CACHE_PARAM>;
}

Type Parameters

  • CACHE_PARAM = any

Properties

provider?: Class<CacheProvider<any, any>>

provider type, the constructor of CacheProvider

providerArgs?: any[]

provider constructor args

providerOptions?: CacheConfig<CACHE_PARAM>

provider config