nestjs-resilience
Version:
A module for improving the reliability and fault-tolerance of your NestJS applications
9 lines (8 loc) • 376 B
TypeScript
import { Strategy } from './base.strategy';
import { Observable } from 'rxjs';
import { FallbackOptions } from '../interfaces';
import { BaseCommand } from '../commands';
export declare class FallbackStrategy extends Strategy<FallbackOptions> {
constructor(options: FallbackOptions);
process<T>(observable: any, command: BaseCommand, ...args: any[]): Observable<T>;
}