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

    Function useWindow

    • Create a windowed view of a live source and return a throttled snapshot.

      The view is created and disposed inside an effect, so it works correctly under React StrictMode's double-mount cycle. Returns null when the window is empty.

      Type Parameters

      • S extends SeriesSchema

      Parameters

      Returns TimeSeries<S> | null