API/api.medcify.app/node_modules/@pm2/io/build/main/utils/EWMA.d.ts
2022-09-26 11:41:44 +05:30

13 lines
336 B
TypeScript

export default class ExponentiallyWeightedMovingAverage {
private _timePeriod;
private _tickInterval;
private _alpha;
private _count;
private _rate;
private TICK_INTERVAL;
constructor(timePeriod?: number, tickInterval?: number);
update(n: any): void;
tick(): void;
rate(timeUnit: any): number;
}