Interface Stats

interface Stats {
    movingAverages: Record<string, Record<number, IMovingAverage>>;
    snapshot: Record<string, bigint>;
    disable(): void;
    enable(): void;
    forPeer(peerId): undefined | Stat;
    push(peer, counter, inc): void;
    stop(): void;
}

Properties

movingAverages: Record<string, Record<number, IMovingAverage>>
snapshot: Record<string, bigint>

Methods

  • Parameters

    • peer: string
    • counter: string
    • inc: number

    Returns void

Generated using TypeDoc