nestjs-resilience
Version:
A module for improving the reliability and fault-tolerance of your NestJS applications
10 lines (9 loc) • 366 B
TypeScript
import { Strategy } from './base.strategy';
import { Observable } from 'rxjs';
import { RetryOptions } from '../interfaces';
export declare class RetryStrategy extends Strategy<RetryOptions> {
private static readonly DEFAULT_OPTIONS;
private get backoff();
constructor(options?: RetryOptions);
process<T>(observable: Observable<T>): Observable<T>;
}