RxDBResource<T>
Defined in: hooks.ts:7
Type Parameters
| Type Parameter |
|---|
T |
Properties
error
readonly error: Error | undefined;
Defined in: hooks.ts:11
最近一次查询错误。
hasValue
readonly hasValue: boolean;
Defined in: hooks.ts:17
当前查询是否已产生成功值。
isEmpty
readonly isEmpty: boolean | undefined;
Defined in: hooks.ts:15
成功结果是否为空;加载或错误状态为 undefined。
isLoading
readonly isLoading: boolean;
Defined in: hooks.ts:13
当前查询是否仍在等待结果。
value
readonly value: T;
Defined in: hooks.ts:9
当前值;查询失败时保留最后一次成功值。