UNPKG

@lagoshny/ngx-hateoas-client

Version:

This client used to develop `Angular 12+` applications working with RESTfulll server API with HAL/JSON response type (supports server implementation by Spring HATEOAS)

12 lines (11 loc) 483 B
export declare class CacheUtils { /** * Checks that cache is enabled and applying used cached mode. * * When mode is CacheMode.ALWAYS then only when passed param useCache === false will not be using cache. * When mode is CacheMode.ON_DEMAND then only when passed param useCache === true be using cache. * * @param useCache desired param can be undefined when caller has not passed it */ static shouldUseCache(useCache: boolean): boolean; }