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

Method remove

packages/offline-transactions/src/outbox/OutboxManager.ts:118–123  ·  view source on GitHub ↗
(id: string)

Source from the content-addressed store, hash-verified

116 }
117
118 async remove(id: string): Promise<void> {
119 return withSpan(`outbox.remove`, { 'transaction.id': id }, async () => {
120 const key = this.getStorageKey(id)
121 await this.storage.delete(key)
122 })
123 }
124
125 async removeMany(ids: Array<string>): Promise<void> {
126 return withSpan(`outbox.removeMany`, { count: ids.length }, async () => {

Callers 5

removeManyMethod · 0.95
removeFromOutboxMethod · 0.45
stopListeningMethod · 0.45
executeTransactionMethod · 0.45
handleErrorMethod · 0.45

Calls 3

getStorageKeyMethod · 0.95
withSpanFunction · 0.90
deleteMethod · 0.45

Tested by

no test coverage detected