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

Function clear

examples/react/offline-transactions/src/utils/todos.ts:71–73  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

69 },
70
71 clear(): void {
72 todosStore.clear()
73 },
74
75 // For demo purposes - simulate network delays
76 async withDelay<T>(fn: () => T, delay = 500): Promise<T> {

Callers

nothing calls this directly

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected