ixfx
    Preparing search index...

    Function rate

    • Tracks the rate of events. It's also able to compute the min,max and average interval between events.

      Parameters

      • opts: Partial<
            Readonly<
                {
                    resetAfterSamples?: number;
                    sampleLimit?: number;
                    timeoutInterval?: Interval;
                },
            >,
        > = {}

      Returns RateTracker