@mocanvas/store · type

RSIndex

type RSIndex<R extends UnknownRecord, Property extends keyof R & string = keyof R & string> = Computed<RSIndexMap<R, Property>, RSIndexDiff<R, Property>>

A live index over one property, as a diff-carrying signal.

Reading it gives the current RSIndexMap; asking it for the diffs since a past epoch gives RSIndexDiffs that describe how to get from the old map to the new one.

Mentioned here

mocanvas is built by Symbio. Free for non-commercial, non-profit and development use; commercial use needs an agreement. Not affiliated with or endorsed by tldraw.