Hyperlinkv0.8.0-beta.28

Store

Store.retentionconstsrc/Store.ts:969
(maxRows: number): <R extends StoreRegistrationAny>(registration: R) => R

Cap how many rows a scope keeps — oldest rows are trimmed after each append.

utils
Source src/Store.ts:9694 lines
export const retention =
  (maxRows: number) =>
  <R extends StoreRegistrationAny>(registration: R): R =>
    withRegistrationRetention(registration, maxRows);