- Consolidated duplicate UndoManagers to single instance - Fixed connection promise to only resolve on 'connected' status - Fixed WebSocketProvider import (WebsocketProvider) - Added proper doc.destroy() cleanup - Renamed isPresenceInitialized property to avoid conflict Co-Authored-By: Paperclip <noreply@paperclip.ing>
13 lines
436 B
TypeScript
13 lines
436 B
TypeScript
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;
|
|
}
|