ixfx
    Preparing search index...

    Class PointsTracker<TPoint>

    A TrackedValueMap for points. Uses PointTracker to track added values.

    Type Parameters

    Hierarchy (View Summary)

    Index

    Accessors

    Constructors

    Methods

    • Enumerate last received values

      Returns Generator<undefined | TPoint, void, unknown>

      const pointers = pointTracker();
      const c = Points.centroid(...Array.from(pointers.lastPoints()));
    • Iterates underlying values, ordered by age (oldest first) First the named values are sorted by their elapsed value, and then we return the last value for that group.

      Returns Generator<undefined | TPoint, void, unknown>

    Properties

    store: Map<string, PointTracker<TPoint>>