UNPKG

@anglr/rest

Version:

Angular module representing rest services

9 lines 650 B
import { RestAdvancedCaching, RestMethodMiddlewares } from '../interfaces'; import type { RESTClientBase } from '../misc/classes/restClientBase'; /** * Results of requests are cached in advanced cachce service * @param key - Optional key for cached data * @param validUntil - Relative definition of 'date' for setting validity of cache, example +2d, +12h */ export declare function AdvancedCache(key?: string | null, validUntil?: string | null): <TDecorated>(_target: RESTClientBase, _propertyKey: string, descriptor: (RestAdvancedCaching & RestMethodMiddlewares) | TDecorated) => TDecorated; //# sourceMappingURL=advancedCache.decorator.d.ts.map