MCPcopy Create free account
hub / github.com/TanStack/db / unloadSubset

Method unloadSubset

packages/db/src/collection/sync.ts:505–509  ·  view source on GitHub ↗

* Notifies the sync layer that a subset is no longer needed. * @param options Options that identify what data is being unloaded

(options: LoadSubsetOptions)

Source from the content-addressed store, hash-verified

503 * @param options Options that identify what data is being unloaded
504 */
505 public unloadSubset(options: LoadSubsetOptions): void {
506 if (this.syncUnloadSubsetFn) {
507 this.syncUnloadSubsetFn(options)
508 }
509 }
510
511 public cleanup(): void {
512 try {

Callers 1

unsubscribeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected