ixfx
    Preparing search index...

    Class ObjectTracker<V, SeenResultType>Abstract

    A tracked value of type V.

    Type Parameters

    • V extends object
    • SeenResultType

    Hierarchy (View Summary)

    Index

    Accessors

    Constructors

    Methods

    Properties

    Accessors

    • get elapsed(): number

      Returns the elapsed time, in milliseconds since the initial value

      Returns number

    Constructors

    Methods

    • Adds a value, returning computed result.

      At this point, we check if the buffer is larger than resetAfterSamples. If so, reset() is called. If not, we check sampleLimit. If the buffer is twice as large as sample limit, trimStore() is called to take it down to sample limit, and onTrimmed() is called.

      Parameters

      • ...p: V[]

      Returns SeenResultType

    Properties

    debug: boolean
    id: string
    values: TimestampedObject<V>[]