UNPKG

nestjs-resilience

Version:

A module for improving the reliability and fault-tolerance of your NestJS applications

10 lines (9 loc) 417 B
import { Strategy } from './base.strategy'; import { Observable } from 'rxjs'; import { CacheOptions } from '../interfaces'; import { BaseCommand } from '../commands'; export declare class CacheStrategy extends Strategy<CacheOptions> { private static readonly DEFAULT_TTL; constructor(options?: CacheOptions); process(observable: Observable<any>, command: BaseCommand, ...args: any[]): Observable<any>; }