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

Function thenableFunction

packages/db/tests/utils.test.ts:362–362  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

360
361 it(`should return true for functions with a then method`, () => {
362 const thenableFunction: any = function () {}
363 thenableFunction.then = (onFulfilled?: any) => {
364 onFulfilled?.(42)
365 }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected