Icard/angular-clarity-master(work.../node_modules/exponential-backoff/dist/delay/delay.base.d.ts

13 lines
436 B
TypeScript
Raw Normal View History

2024-07-16 14:55:36 +00:00
import { IDelay } from "./delay.interface";
import { IBackOffOptions } from "../options";
export declare abstract class Delay implements IDelay {
private options;
protected attempt: number;
constructor(options: IBackOffOptions);
apply(): Promise<unknown>;
setAttemptNumber(attempt: number): void;
private readonly jitteredDelay;
private readonly delay;
protected readonly numOfDelayedAttempts: number;
}