Skip to content

peerborneCollectionOptions

peerborneCollectionOptions<Row, Key, Doc, Change, PublicKey>(options): CollectionConfig<Row, Key>

Defined in: index.ts:39

Experimental eager collection projection for the declared TanStack DB peer range. Each document notification replaces the complete row snapshot. This does not implement query-driven network synchronization or persistence. Construct during SSR, but start/preload the collection only in its owner runtime. The collection fails when the store reports an error or a retired document, so it never projects an edit that a retired document discarded. A mutation made before any query starts the collection’s sync starts it first.

Row extends object

Key extends string | number

Doc

Change

PublicKey

PeerborneCollectionOptions<Row, Key, Doc, Change, PublicKey>

CollectionConfig<Row, Key>