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.
Type Parameters
Section titled “Type Parameters”Row extends object
Key extends string | number
Doc
Change
Section titled “Change”Change
PublicKey
Section titled “PublicKey”PublicKey
Parameters
Section titled “Parameters”options
Section titled “options”PeerborneCollectionOptions<Row, Key, Doc, Change, PublicKey>
Returns
Section titled “Returns”CollectionConfig<Row, Key>