Spaces:
Running
Running
File size: 436 Bytes
2b24a67 |
1 2 3 4 5 6 7 8 9 10 11 12 13 |
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;
}
|