ixfx
    Preparing search index...

    Type Alias TrackedValueOpts

    Options

    type TrackedValueOpts = {
        debug?: boolean;
        id?: string;
        resetAfterSamples?: number;
        sampleLimit?: number;
        storeIntermediate?: boolean;
    }
    Index

    Properties

    debug?: boolean

    If true, prints debug info

    id?: string
    resetAfterSamples?: number

    If above zero, tracker will reset after this many samples

    sampleLimit?: number

    If above zero, there will be a limit to intermediate values kept.

    When the seen values is twice sampleLimit, the stored values will be trimmed down to sampleLimit. We only do this when the values are double the size so that the collections do not need to be trimmed repeatedly whilst we are at the limit.

    Automatically implies storeIntermediate

    storeIntermediate?: boolean

    If true, intermediate points are stored. False by default