libp2p
    Preparing search index...

    Interface Metric

    A tracked metric loosely based on the interfaces exposed by the prom-client module

    interface Metric {
        decrement(value?: number): void;
        increment(value?: number): void;
        reset(): void;
        timer(): StopTimer;
        update(value: number): void;
    }
    Index

    Methods