Defined in: angular-db/src/index.ts:102
Status, persistence, and health signals every injectLiveQuery result has.
TResult extends object = any
TKey extends string | number = string | number
TUtils extends Record<string, any> = { }
collection: Signal<
| Collection<TResult, TKey, TUtils, StandardSchemaV1<unknown, unknown>, TResult> & SingleResult
| null>;Defined in: angular-db/src/index.ts:109
data: Signal<TResult | undefined>;Defined in: angular-db/src/index.ts:108
health: Signal<HealthNode | undefined>;Defined in: angular-db/src/index.ts:62
A signal containing the health tree for the query and its dependencies
isCleanedUp: Signal<boolean>;Defined in: angular-db/src/index.ts:58
A signal indicating whether the collection has been cleaned up
InjectLiveQueryFlags.isCleanedUp
isCrashed: Signal<boolean>;Defined in: angular-db/src/index.ts:56
Local storage or an invariant broke. Only a cascade cleanup and a fresh start recover.
InjectLiveQueryFlags.isCrashed
isIdle: Signal<boolean>;Defined in: angular-db/src/index.ts:52
A signal indicating whether the collection is idle
isLoading: Signal<boolean>;Defined in: angular-db/src/index.ts:48
A signal indicating whether the collection is currently loading
InjectLiveQueryFlags.isLoading
isLoadingError: Signal<boolean>;Defined in: angular-db/src/index.ts:54
The first load failed: there is nothing to show.
InjectLiveQueryFlags.isLoadingError
isReady: Signal<boolean>;Defined in: angular-db/src/index.ts:50
A signal indicating whether the collection is ready
isSyncError: Signal<boolean>;Defined in: angular-db/src/index.ts:60
The data is shown, and a sync problem or failed request is in health.
InjectLiveQueryFlags.isSyncError
state: Signal<Map<TKey, TResult>>;Defined in: angular-db/src/index.ts:107
status: Signal<CollectionStatus | "disabled">;Defined in: angular-db/src/index.ts:46
A signal containing the current status of the collection