@pond-ts/react API Reference
    Preparing search index...

    Function takeSnapshot

    • Build a TimeSeries snapshot from any LiveSource.

      Checks for dedicated snapshot methods first (toTimeSeries, snapshot), then falls back to iterating at() + length for sources like LiveRollingAggregation that lack a built-in snapshot.

      Type Parameters

      • S extends SeriesSchema

      Parameters

      • source: LiveSource<S>

      Returns TimeSeries<S> | null