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

Method clear

packages/offline-transactions/src/executor/KeyScheduler.ts:97–100  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

95 }
96
97 clear(): void {
98 this.pendingTransactions = []
99 this.isRunning = false
100 }
101
102 getAllPendingTransactions(): Array<OfflineTransaction> {
103 return [...this.pendingTransactions]

Callers 3

clearOutboxMethod · 0.45
disposeMethod · 0.45
disposeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected