Skip to content
Source
Sign inSign up
TanStack/db
Open History to see the last commit

LiveQueryStatusFlags.md

72 lines1.6 KB

Defined in: packages/db/src/live-query-primitives.ts:51

The derived boolean status flags every adapter exposes for a query.

Properties

isCleanedUp

isCleanedUp: boolean;

Defined in: packages/db/src/live-query-primitives.ts:59


isCrashed

isCrashed: boolean;

Defined in: packages/db/src/live-query-primitives.ts:58

Local storage or an invariant broke. status is crashed.


isIdle

isIdle: boolean;

Defined in: packages/db/src/live-query-primitives.ts:54


isLoading

isLoading: boolean;

Defined in: packages/db/src/live-query-primitives.ts:52


isLoadingError

isLoadingError: boolean;

Defined in: packages/db/src/live-query-primitives.ts:56

The first load failed: there is nothing to show. status is error.


isReady

isReady: boolean;

Defined in: packages/db/src/live-query-primitives.ts:53