MCPcopy Index your code
hub / github.com/TanStack/db / removeFromPendingList

Function removeFromPendingList

packages/db/src/transactions.ts:202–207  ·  view source on GitHub ↗
(tx: Transaction<any>)

Source from the content-addressed store, hash-verified

200}
201
202function removeFromPendingList(tx: Transaction<any>) {
203 const index = transactions.findIndex((t) => t.id === tx.id)
204 if (index !== -1) {
205 transactions.splice(index, 1)
206 }
207}
208
209class Transaction<T extends object = Record<string, unknown>> {
210 public id: string

Callers 1

setStateMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected