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

Interface UseLiveQueryReturn

packages/vue-db/src/useLiveQuery.ts:40–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38 * @property isCleanedUp - True when query has been cleaned up
39 */
40export interface UseLiveQueryReturn<TContext extends Context> {
41 state: ComputedRef<Map<string | number, GetResult<TContext>>>
42 data: ComputedRef<InferResultType<TContext>>
43 collection: ComputedRef<Collection<GetResult<TContext>, string | number, {}>>
44 status: ComputedRef<CollectionStatus>
45 isLoading: ComputedRef<boolean>
46 isReady: ComputedRef<boolean>
47 isIdle: ComputedRef<boolean>
48 isError: ComputedRef<boolean>
49 isCleanedUp: ComputedRef<boolean>
50}
51
52export interface UseLiveQueryReturnWithCollection<
53 T extends object,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…