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

Function asyncFn

packages/db/tests/utility-exposure.test.ts:15–15  ·  view source on GitHub ↗
(input: number)

Source from the content-addressed store, hash-verified

13 // Create mock utility functions
14 const testFn = (input: string) => `processed: ${input}`
15 const asyncFn = (input: number) => Promise.resolve(input * 2)
16
17 // Create a mock sync config
18 const mockSync: SyncConfig<{ id: string }> = {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected