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

Function mutationPromise

packages/offline-transactions/tests/offline-e2e.test.ts:572–572  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

570
571 // Create a promise that never resolves - simulates offline/stuck mutation
572 const mutationPromise = () => new Promise<void>(() => {})
573
574 // First environment: Create a transaction that gets stuck (simulating offline)
575 const firstEnv = createTestOfflineEnvironment({

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected