UNPKG

336 BTypeScriptView Raw
1import type { TimerVariant } from './shared';
2export default class PingTimer {
3 private keepalive;
4 private timerId;
5 private timer;
6 private checkPing;
7 private destroyed;
8 constructor(keepalive: number, checkPing: () => void, variant: TimerVariant);
9 private clear;
10 destroy(): void;
11 reschedule(): void;
12}