Type Alias TrackedValueOpts

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

Options

Type declaration

  • Optional Readonlydebug?: boolean

    If true, prints debug info

  • Optional Readonlyid?: string
  • Optional ReadonlyresetAfterSamples?: number

    If above zero, tracker will reset after this many samples

  • Optional ReadonlysampleLimit?: 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

  • Optional ReadonlystoreIntermediate?: boolean

    If true, intermediate points are stored. False by default