Function: Cache()
Cache(
ttl?): (target) =>void
Defined in: service-core/src/decorators/ModelDecorators.ts:30
Indicates that the class is cacheable with the specified TTL.
Parameters
ttl?
number = 30
The time, in seconds, that an object will be cached before being invalidated.
Returns
(target) => void