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

Method clear

packages/offline-transactions/tests/harness.ts:32–35  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

30 }
31
32 async clear(): Promise<void> {
33 this.store.clear()
34 return Promise.resolve()
35 }
36
37 snapshot(): Record<string, string> {
38 return Object.fromEntries(this.store.entries())

Callers 1

disposeMethod · 0.45

Calls

no outgoing calls

Tested by 1

disposeMethod · 0.36