- Preparing search index...
- The search index is not available
rubic-sdk
- Cache(cacheConfigOrTarget: CacheConfig): DecoratorSignature
-
Returns DecoratorSignature
- Cache<T>(cacheConfigOrTarget: Object, propertyKey: string | symbol, descriptor: TypedPropertyDescriptor<T>): TypedPropertyDescriptor<T> | void
-
Parameters
-
cacheConfigOrTarget: Object
-
propertyKey: string | symbol
-
descriptor: TypedPropertyDescriptor<T>
Returns TypedPropertyDescriptor<T> | void
Decorator, used to cache calculated result of functions.