TomTom Maps for JavaScript
    Preparing search index...

    Type Alias DatasetSnapshot<T>

    The fresh data of one monitor tick, with the moment it was sampled: the snap of a slice's monitor-tick event.

    type DatasetSnapshot<T> = {
        data: T;
        takenAt: number;
    }

    Type Parameters

    • T
    Index
    data: T

    The fresh data, which also replaced the dataset's own.

    takenAt: number

    When the data was sampled, in milliseconds since the epoch.